diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aef8fca..0ee8375 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,3 +13,14 @@ repos: (?x)^( vim/colors/.*\.vim )$ + - repo: local + hooks: + - id: luacheck + name: Luacheck + entry: luacheck + args: + - --globals + - vim + - -- + language: system + types: [file, lua] diff --git a/install-language-servers.sh b/install-language-servers.sh index 78104ec..9a6ad86 100755 --- a/install-language-servers.sh +++ b/install-language-servers.sh @@ -74,6 +74,9 @@ function install_linters() { # Makefile maybe_run go get -u github.com/mrtazz/checkmake + # Lua + maybe_run luarocks install luacheck + echo "" }