Преглед на файлове

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;
}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93055 91177308-0d34-0410-b5e6-96231b3b80d8

Dan Gohman преди 15 години
родител
ревизия
acb75a9d70
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      utils/vim/vimrc

+ 1 - 1
utils/vim/vimrc

@@ -35,7 +35,7 @@ augroup END
 " 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
+set cinoptions=:0,g0,(0,Ws,l1
 " Add and delete spaces in increments of `shiftwidth' for tabs
 set smarttab