diff --git a/020_neovim.sh b/020_neovim.sh index 8c27865..6410ae5 100644 --- a/020_neovim.sh +++ b/020_neovim.sh @@ -266,8 +266,17 @@ nmap e :Errors " turn to next or previous errors, after open errors list nmap n :lnext nmap p :lprevious + +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + " check also when just opened the file let g:syntastic_check_on_open = 1 +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_enable_signs = 1 + " syntastic checker for javascript. " eslint is the only tool support JSX. @@ -280,10 +289,6 @@ let g:syntastic_javascript_checkers = ['jshint'] " let g:syntastic_python_checkers = ["pylint"] " let g:syntastic_python_checkers = ["flake8"] let g:syntastic_python_checkers = ['prospector'] -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_enable_signs = 1 " don't put icons on the sign column (it hides the vcs status icons of signify) let g:syntastic_enable_signs = 1 diff --git a/020_vim.sh b/020_vim.sh index ba78812..543adc8 100644 --- a/020_vim.sh +++ b/020_vim.sh @@ -197,8 +197,16 @@ nmap e :Errors " turn to next or previous errors, after open errors list nmap n :lnext nmap p :lprevious + +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + " check also when just opened the file let g:syntastic_check_on_open = 1 +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_enable_signs = 1 " syntastic checker for javascript. " eslint is the only tool support JSX. @@ -211,10 +219,6 @@ let g:syntastic_javascript_checkers = ['jshint'] " let g:syntastic_python_checkers = ["pylint"] " let g:syntastic_python_checkers = ["flake8"] let g:syntastic_python_checkers = ['prospector'] -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_enable_signs = 1 " don't put icons on the sign column (it hides the vcs status icons of signify) let g:syntastic_enable_signs = 1