]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Add correct c++ syntax highlighting.
authorMaximilian Friedersdorff <maxf130@gmail.com>
Tue, 10 Nov 2015 13:46:17 +0000 (13:46 +0000)
committerMaximilian Friedersdorff <maxf130@gmail.com>
Tue, 10 Nov 2015 13:46:17 +0000 (13:46 +0000)
vimrc

diff --git a/vimrc b/vimrc
index 4f6659b9533a3a7cda72b54e40fc26866f8774f5..4dcc958837f70061098f711481ff2d0521ca09c7 100644 (file)
--- 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