diff --git a/vim/.vim/bundle/syntastic b/vim/.vim/bundle/syntastic index 88dd656..d31e270 160000 --- a/vim/.vim/bundle/syntastic +++ b/vim/.vim/bundle/syntastic @@ -1 +1 @@ -Subproject commit 88dd65673a8dc37a3533f1a20643b8ac00311770 +Subproject commit d31e270cc8affc6338a9ed44e2efcaec0ca4cd34 diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index b58956d..d75aa9d 100644 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -31,8 +31,15 @@ map :call SetExecutable() imap :call SetExecutable "language specific syntastic configurtion -let g:syntastic_cpp_compiler="g++" -let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" +"syntastic configuration +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 autocmd Filetype python setlocal expandtab autocmd Filetype markdown setlocal textwidth=72 expandtab