Correct switch case indentation in C++ & Java too
This commit is contained in:
parent
5c7fc32af1
commit
a9847125ad
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
" Indentation
|
||||
setlocal autoindent
|
||||
setlocal si
|
||||
setlocal cinoptions=:0
|
||||
setlocal shiftwidth=4
|
||||
setlocal noexpandtab
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ setlocal si
|
|||
setlocal shiftwidth=4
|
||||
setlocal noexpandtab
|
||||
" Anonymous classes
|
||||
setlocal cindent cinoptions& cinoptions+=j1
|
||||
setlocal cindent cinoptions& cinoptions+=j1 cinoptions+=:0
|
||||
" Repair extends and implements Indentation
|
||||
setlocal indentkeys& indentkeys+=0=extends indentkeys+=0=implements
|
||||
|
||||
|
|
Loading…
Reference in a new issue