Vim: tabsize 8->4
This commit is contained in:
parent
cfcc27612e
commit
a7ab079326
6
.vimrc
6
.vimrc
|
@ -23,13 +23,13 @@ nmap <F6> :set invlist<cr>
|
|||
function! GnuIndent()
|
||||
setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
|
||||
setlocal shiftwidth=2
|
||||
setlocal tabstop=8
|
||||
setlocal tabstop=4
|
||||
endfunction
|
||||
|
||||
" Setup for the CPP coding format standard
|
||||
function! CppIndent()
|
||||
setlocal shiftwidth=8
|
||||
setlocal tabstop=8
|
||||
setlocal shiftwidth=4
|
||||
setlocal tabstop=4
|
||||
setlocal noexpandtab
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue