This linter plugin for SublimeLinter provides an interface to luac -p. It will be used with files that have the "Lua" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that lua
(which includes luac
) is installed on your system.
To install lua
, do one of the following:
-
Install a binary from the binaries downloads page.
-
On Mac OS X, use homebrew to install by typing the following in a terminal:
brew install lua
Note that more recent versions of lua may be available via
brew
, typebrew search lua
to check. -
On Windows, you can install with Lua for Windows.
Please make sure that the path to luac
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html