[llvm-commits] [llvm] r61628 - /llvm/trunk/utils/vim/vimrc
Dan Gohman
gohman at apple.com
Sun Jan 4 10:59:55 PST 2009
Author: djg
Date: Sun Jan 4 12:59:55 2009
New Revision: 61628
URL: http://llvm.org/viewvc/llvm-project?rev=61628&view=rev
Log:
Set a few more vimrc indentation options.
Modified:
llvm/trunk/utils/vim/vimrc
Modified: llvm/trunk/utils/vim/vimrc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/vimrc?rev=61628&r1=61627&r2=61628&view=diff
==============================================================================
--- llvm/trunk/utils/vim/vimrc (original)
+++ llvm/trunk/utils/vim/vimrc Sun Jan 4 12:59:55 2009
@@ -25,8 +25,10 @@
" 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
More information about the llvm-commits
mailing list