Browse Source

[vimrc] Fix blocks in switch case indentation

merge-requests/1/merge
lhark 8 years ago
parent
commit
2d63595ce9
  1. 2
      vim/after/ftplugin/c.vim
  2. 1
      vimrc

2
vim/after/ftplugin/c.vim

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

@ -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…
Cancel
Save