Switch the vimrc file from smartindent to cindent, which is

smarter about C-ish syntax, and supports the cinoptions
variable. Set cinoptions to suppress the extra indentation
for switch case labels.

llvm-svn: 61617
This commit is contained in:
Dan Gohman 2009-01-04 00:03:54 +00:00
parent b2f724edb4
commit e4159704d9
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ match WhitespaceEOL /\s\+$/
" Optional " Optional
" C/C++ programming helpers " C/C++ programming helpers
set autoindent set cindent
set smartindent " Don't indent switch case labels beyond the switch.
set cinoptions=:0
" Add and delete spaces in increments of `shiftwidth' for tabs " Add and delete spaces in increments of `shiftwidth' for tabs
set smarttab set smarttab