[vimrc] Fix blocks in switch case indentation
This commit is contained in:
parent
3103577f63
commit
2d63595ce9
2 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
" Indentation
|
" Indentation
|
||||||
setlocal cindent
|
setlocal cindent
|
||||||
setlocal si
|
setlocal si
|
||||||
setlocal cinoptions=:0
|
setlocal cinoptions+=:0
|
||||||
setlocal shiftwidth=4
|
setlocal shiftwidth=4
|
||||||
setlocal noexpandtab
|
setlocal noexpandtab
|
||||||
|
|
||||||
|
|
1
vimrc
1
vimrc
|
@ -312,6 +312,7 @@ set autoindent
|
||||||
set copyindent
|
set copyindent
|
||||||
set smartindent
|
set smartindent
|
||||||
set cinwords=except,finally,def,class,with,do,if,elif,else,for,while,try,switch
|
set cinwords=except,finally,def,class,with,do,if,elif,else,for,while,try,switch
|
||||||
|
set cinoptions+=l1
|
||||||
set modelines=1
|
set modelines=1
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
|
Loading…
Reference in a new issue