Vim: tabsize 8->4

This commit is contained in:
Kolan Sh 2013-06-20 17:26:59 +04:00
parent cfcc27612e
commit a7ab079326
1 changed files with 3 additions and 3 deletions

6
.vimrc
View File

@ -23,13 +23,13 @@ nmap <F6> :set invlist<cr>
function! GnuIndent() function! GnuIndent()
setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1 setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
setlocal shiftwidth=2 setlocal shiftwidth=2
setlocal tabstop=8 setlocal tabstop=4
endfunction endfunction
" Setup for the CPP coding format standard " Setup for the CPP coding format standard
function! CppIndent() function! CppIndent()
setlocal shiftwidth=8 setlocal shiftwidth=4
setlocal tabstop=8 setlocal tabstop=4
setlocal noexpandtab setlocal noexpandtab
endfunction endfunction