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
   \ "active_filetypes": ["bash"],
26
   \ "active_filetypes": ["bash"],
27
   \ "passive_filetypes": ["python"] }
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
 let g:gitgutter_sign_added = '✚'
33
 let g:gitgutter_sign_added = '✚'
30
 let g:gitgutter_sign_modified = '❱'
34
 let g:gitgutter_sign_modified = '❱'
31
 let g:gitgutter_sign_removed = '❌'
35
 let g:gitgutter_sign_removed = '❌'