From 3392160856fd369b92ddb099aa491fde1931e5f3 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 10 Jun 2019 20:19:12 +0100 Subject: Enable sytactic for few types --- vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index d623b43..61669a2 100644 --- a/vimrc +++ b/vimrc @@ -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 :SyntasticCheck -- cgit v1.2.3