Sfoglia il codice sorgente

Enable lua checkers in syntastic

Alois Mahdal 5 anni fa
parent
commit
8de32f90b3
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      dotfiles/vim/vimrc

+ 4
- 0
dotfiles/vim/vimrc Vedi 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 = '❌'