diff --git a/vimrc b/vimrc index 2865c28f368710db04571105791f6b73eac05341..bdcaf2b63c328910e0eb0ba7cd9960c440538aa0 100644 --- a/vimrc +++ b/vimrc @@ -32,7 +32,7 @@ noremap cc :silent s/^/=escape(b:comment_leader,'\/')/:nohlsearch noremap cu :silent s/^\V=escape(b:comment_leader,'\/')//e:nohlsearch " Personal tabs/spaces settings. -autocmd Filetype make,go,sh setlocal noexpandtab tabstop=4 shiftwidth=4 -autocmd Filetype c,cpp setlocal expandtab tabstop=4 shiftwidth=4 +autocmd Filetype make,go setlocal noexpandtab tabstop=4 shiftwidth=4 +autocmd Filetype c,cpp,sh setlocal expandtab tabstop=4 shiftwidth=4 autocmd Filetype html,javascript,css setlocal expandtab tabstop=2 shiftwidth=2