Set the vim auto-indent setting for open braces after case statements to

follow LLVM source convention.

Before:
  case X: {
            stuff;
          }

After:
  case X: {
    stuff;
  }

llvm-svn: 93055
This commit is contained in:
Dan Gohman 2010-01-09 17:15:21 +00:00
parent 2c4a34aeef
commit d5ae136971

View File

@ -35,7 +35,7 @@ augroup END
" Set a few indentation parameters. See the VIM help for cinoptions-values for " 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 " details. These aren't absolute rules; they're just an approximation of
" common style in LLVM source. " common style in LLVM source.
set cinoptions=:0,g0,(0,Ws set cinoptions=:0,g0,(0,Ws,l1
" Add and delete spaces in increments of `shiftwidth' for tabs " Add and delete spaces in increments of `shiftwidth' for tabs
set smarttab set smarttab