From: Maximilian Friedersdorff Date: Tue, 10 Nov 2015 13:46:17 +0000 (+0000) Subject: Add correct c++ syntax highlighting. X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=0d300eab202a95ad9814a90736254b31c33f0536;p=max%2Fdotfiles.git Add correct c++ syntax highlighting. --- 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