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
setlocal cindent
setlocal si
setlocal cinoptions=:0
setlocal cinoptions+=:0
setlocal shiftwidth=4
setlocal noexpandtab

1
vimrc

@ -312,6 +312,7 @@ set autoindent
set copyindent
set smartindent
set cinwords=except,finally,def,class,with,do,if,elif,else,for,while,try,switch
set cinoptions+=l1
set modelines=1
set shiftwidth=4
set softtabstop=4

Loading…
Cancel
Save