mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-04 08:46:45 +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)^(
|
||||
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
|
||||
maybe_run go get -u github.com/mrtazz/checkmake
|
||||
|
||||
# Lua
|
||||
maybe_run luarocks install luacheck
|
||||
|
||||
echo ""
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user