aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-05 11:26:50 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit837b23df0a09babf2864a62829794e6f03d2abad (patch)
treec9898eab25502221ff608389b072825eced9301a /vim/vimrc
parent91f174be8507375e1278fbcea0ff981af8480b55 (diff)
downloaddotfiles-837b23df0a09babf2864a62829794e6f03d2abad.tar.xz
vim: foo
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
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