1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Update syntastic configuration.

This commit is contained in:
2018-04-26 10:13:46 +02:00
parent 12dc841566
commit c460900b04
2 changed files with 10 additions and 3 deletions

View File

@@ -31,8 +31,15 @@ map <F7> :call SetExecutable()<CR>
imap <F7> <Esc>:call SetExecutable<CR>
"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