Set a few more vimrc indentation options.

llvm-svn: 61628
This commit is contained in:
Dan Gohman 2009-01-04 18:59:55 +00:00
parent 6e447c571e
commit be631a3cd1
1 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,10 @@ match WhitespaceEOL /\s\+$/
" Optional
" C/C++ programming helpers
set cindent
" Don't indent switch case labels beyond the switch.
set cinoptions=:0
" Set a few indentation parameters. See the VIM help for cinoptions-values for
" details. These aren't absolute rules; they're just an approximation of
" common style in LLVM source.
set cinoptions=:0,g0,(0,Ws
" Add and delete spaces in increments of `shiftwidth' for tabs
set smarttab