diff options
author | Juan J. Martinez <jjm@usebox.net> | 2019-06-10 20:19:12 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:28 +0100 |
commit | 3392160856fd369b92ddb099aa491fde1931e5f3 (patch) | |
tree | 5d267767a94582df990e2de5dc03014c1adab937 /vimrc | |
parent | d527a988b7eaba36c7526295b90bfb8cc3f01cde (diff) | |
download | dotnvim-3392160856fd369b92ddb099aa491fde1931e5f3.tar.gz dotnvim-3392160856fd369b92ddb099aa491fde1931e5f3.zip |
Enable sytactic for few types
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -43,14 +43,16 @@ set statusline +=%=%-10L set statusline +=%=%-14.(%l,%c%V%)\ %P " syntastic -let g:syntastic_python_checkers = ['pyflakes'] +let g:syntastic_python_checkers = ['flake8', 'pyflakes'] let g:syntastic_go_checkers = ['go', 'golint', 'govet', 'errcheck'] let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 0 let g:syntastic_loc_list_height = 5 " default to passive and manual checks -let g:syntastic_mode_map = { 'mode': 'passive' } +let g:syntastic_mode_map = { + \ 'mode': 'passive', + \ 'active_filetypes': [ 'python', 'go' ] } " make easy to perform a check noremap <C-F6> :SyntasticCheck<CR> |