forked from vim-syntastic/syntastic
-
Notifications
You must be signed in to change notification settings - Fork 2
(v3.6.0) Lua: luacheck
LCD 47 edited this page Jan 19, 2015
·
1 revision
Maintainer: Thiago Bastos tbastos@tbastos.com
Luacheck is a tool for static analysis of Lua code. In contrast to luac which only flags syntax errors, this checker detects code smells, so you probably want to enable both when available.
Here are some sensible options:
let g:syntastic_check_on_open = 1
let g:syntastic_lua_checkers = ["luac", "luacheck"]
let g:syntastic_lua_luacheck_args = "--no-unused-args"
[Syntastic Wiki][0] [0]: https://github.com/scrooloose/syntastic/wiki/