浏览代码

Enable lua checkers in syntastic

Alois Mahdal 5 年前
父节点
当前提交
8de32f90b3
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      dotfiles/vim/vimrc

+ 4
- 0
dotfiles/vim/vimrc 查看文件

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