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