Correct switch case indentation in C++ & Java too

This commit is contained in:
lhark 2016-10-24 23:43:18 -04:00
parent 5c7fc32af1
commit a9847125ad
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
" Indentation " Indentation
setlocal autoindent setlocal autoindent
setlocal si setlocal si
setlocal cinoptions=:0
setlocal shiftwidth=4 setlocal shiftwidth=4
setlocal noexpandtab setlocal noexpandtab

View file

@ -6,7 +6,7 @@ setlocal si
setlocal shiftwidth=4 setlocal shiftwidth=4
setlocal noexpandtab setlocal noexpandtab
" Anonymous classes " Anonymous classes
setlocal cindent cinoptions& cinoptions+=j1 setlocal cindent cinoptions& cinoptions+=j1 cinoptions+=:0
" Repair extends and implements Indentation " Repair extends and implements Indentation
setlocal indentkeys& indentkeys+=0=extends indentkeys+=0=implements setlocal indentkeys& indentkeys+=0=extends indentkeys+=0=implements