From 0d300eab202a95ad9814a90736254b31c33f0536 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 10 Nov 2015 13:46:17 +0000 Subject: [PATCH 1/1] Add correct c++ syntax highlighting. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index 4f6659b..4dcc958 100644 --- a/vimrc +++ b/vimrc @@ -55,6 +55,10 @@ let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 let g:syntastic_javascript_checkers = ['eslint'] +" Syntastic C++11 +let g:syntastic_cpp_compiler = 'g++' +let g:syntastic_cpp_compiler_options = '-std=c++11' + set laststatus=2 " Set this to 1 if powerline fonts are installed. let g:airline_powerline_fonts = 0 -- 2.45.2