Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Lua: luacheck

LCD 47 edited this page Dec 16, 2014 · 4 revisions

Maintainer: Thiago Bastos [email protected]

Luacheck is a tool for static analysis of Lua code. In contrast to luac which only flags syntax errors, this checker only flags code smells, so you probably want to enable both.

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" 
Clone this wiki locally