From eb5f327740142a6e6bda40c9dd6261aed6982847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Thu, 16 Mar 2017 15:58:47 +0100 Subject: [PATCH] Vimrc: c++ --- files/.vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/.vimrc b/files/.vimrc index 1034ee8..ae99607 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -5,9 +5,9 @@ set background=dark set number set relativenumber set tabstop=4 -" set softtabstop=4 +set softtabstop=4 set shiftwidth=4 -set noexpandtab +set expandtab set smartindent set incsearch set ttimeoutlen=100 @@ -75,6 +75,7 @@ let g:syntastic_tex_checkers = [ 'chktex' ] "" Python let g:syntastic_python_python_exec = '/usr/bin/python3' "" C++ +let g:syntastic_cpp_checkers = ['g++'] let g:syntastic_cpp_compiler_options = '-std=c++14 -Wall -Wextra' "" Disabled languages