diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-10-05 11:26:50 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | 837b23df0a09babf2864a62829794e6f03d2abad (patch) | |
tree | c9898eab25502221ff608389b072825eced9301a /vim | |
parent | 91f174be8507375e1278fbcea0ff981af8480b55 (diff) | |
download | dotfiles-837b23df0a09babf2864a62829794e6f03d2abad.tar.xz |
vim: foo
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |