[vimrc] Fix blocks in switch case indentation

This commit is contained in:
lhark 2018-07-10 15:37:04 -04:00
parent 3103577f63
commit 2d63595ce9
2 changed files with 2 additions and 1 deletions

View file

@ -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
View file

@ -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