Explorar el Código

Enable lua checkers in syntastic

Alois Mahdal hace 5 años
padre
commit
8de32f90b3
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      dotfiles/vim/vimrc

+ 4
- 0
dotfiles/vim/vimrc Ver fichero

@@ -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 = '❌'