From 3aeb5b28f87491fbda0a76a1f0c1a0310c64e33b Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 7 Mar 2018 15:48:30 -0600 Subject: [PATCH] Configure syntastic. --- .vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vimrc b/.vimrc index 8e0a278..7633688 100644 --- a/.vimrc +++ b/.vimrc @@ -159,6 +159,15 @@ let g:airline_right_sep='' nnoremap f :Unite -start-insert file nnoremap b :Unite -start-insert buffer +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +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_check_on_wq = 0 + " If it exists, include user's local vim config if filereadable(expand("~/.vimrc.local")) source ~/.vimrc.local