Configure syntastic.

This commit is contained in:
Ryan Cavicchioni 2018-03-07 15:48:30 -06:00
parent e91a15f46d
commit 3aeb5b28f8

9
.vimrc
View File

@ -159,6 +159,15 @@ let g:airline_right_sep=''
nnoremap <leader>f :<C-u>Unite -start-insert file<CR>
nnoremap <leader>b :<C-u>Unite -start-insert buffer<CR>
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