tools: Added syntax and linter checkers for lua files.

This commit is contained in:
Andrew Hamilton 2018-06-05 08:55:18 +10:00
parent dc5865cf67
commit 92632ba85e
2 changed files with 13 additions and 1 deletions

View file

@ -16,6 +16,7 @@ tools_for_extensions = [
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
"cppcheck"]],
[["rb"], ["ruby_syntax"]],
[["lua"], ["lua_syntax", "lua_check"]],
[["pdf"], ["pdf2txt"]],
[["html", "htm"], ["html_syntax", "tidy", "html2text", "pandoc"]],
[["php"], ["php7_syntax"]],
@ -194,6 +195,16 @@ tools_for_extensions = [
url = "ruby"
command = "ruby -c"
[lua_syntax]
dependencies = ["lua5.3"]
url = "lua5.3"
command = "luac -p"
[lua_check]
dependencies = ["lua-check"]
url = "lua-check"
command = "luacheck"
[gofmt]
dependencies = ["golang-go"]
url = "golang-go"