aboutsummaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-09 17:15:21 +0000
committerDan Gohman <gohman@apple.com>2010-01-09 17:15:21 +0000
commitacb75a9d707a3d0d1498f4642c14c3afa67948d7 (patch)
tree41ebb5b66fd6b4dbfe6ce6454fa8dc30b057361f /utils/vim
parent3472246edee4e120e3eb1ec4ad443ba884bc7ac7 (diff)
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
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vim/vimrc b/utils/vim/vimrc
index 7b1fd872b2..4909f602cf 100644
--- a/utils/vim/vimrc
+++ b/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