mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-04 18:46:44 +00:00
Add luacheck to lang servers and pre-commit
This commit is contained in:
parent
00d580eb1b
commit
4fb61693a8
@ -13,3 +13,14 @@ repos:
|
|||||||
(?x)^(
|
(?x)^(
|
||||||
vim/colors/.*\.vim
|
vim/colors/.*\.vim
|
||||||
)$
|
)$
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: luacheck
|
||||||
|
name: Luacheck
|
||||||
|
entry: luacheck
|
||||||
|
args:
|
||||||
|
- --globals
|
||||||
|
- vim
|
||||||
|
- --
|
||||||
|
language: system
|
||||||
|
types: [file, lua]
|
||||||
|
@ -74,6 +74,9 @@ function install_linters() {
|
|||||||
# Makefile
|
# Makefile
|
||||||
maybe_run go get -u github.com/mrtazz/checkmake
|
maybe_run go get -u github.com/mrtazz/checkmake
|
||||||
|
|
||||||
|
# Lua
|
||||||
|
maybe_run luarocks install luacheck
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user