summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd5ae136971d23a2498385c31d2db828cf7c17042 (patch)
treeec3f0abf235c7e227e1c7081a0c6436c8f05b6ce /llvm/utils/vim
parent2c4a34aeef6c6af0dce691decfbb18c6a50b556e (diff)
downloadbcm5719-llvm-d5ae136971d23a2498385c31d2db828cf7c17042.tar.gz
bcm5719-llvm-d5ae136971d23a2498385c31d2db828cf7c17042.zip
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
Diffstat (limited to 'llvm/utils/vim')
-rw-r--r--llvm/utils/vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/vim/vimrc b/llvm/utils/vim/vimrc
index 7b1fd872b27..4909f602cff 100644
--- a/llvm/utils/vim/vimrc
+++ b/llvm/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
OpenPOWER on IntegriCloud