aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ec1a39f..b4f0671 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -101,8 +101,6 @@ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
-highlight Comment cterm=italic
-
" Why does vim set the filetype of .h files as C++?
augroup filetypes
@@ -117,6 +115,7 @@ augroup END
" Use clang_check for syntax checking
let g:syntastic_c_checkers = ['clang_check']
+let g:syntastic_cpp_checkers = ['clang_check']
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1