Browse Source

Enable lua checkers in syntastic

Alois Mahdal 4 years ago
parent
commit
8de32f90b3
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      dotfiles/vim/vimrc

+ 4
- 0
dotfiles/vim/vimrc View File

@@ -26,6 +26,10 @@ let g:syntastic_mode_map = {
26 26
   \ "active_filetypes": ["bash"],
27 27
   \ "passive_filetypes": ["python"] }
28 28
 
29
+let g:syntastic_check_on_open = 1
30
+let g:syntastic_lua_checkers = ["luac", "luacheck"]
31
+let g:syntastic_lua_luacheck_args = "--no-unused-args"
32
+
29 33
 let g:gitgutter_sign_added = '✚'
30 34
 let g:gitgutter_sign_modified = '❱'
31 35
 let g:gitgutter_sign_removed = '❌'