diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-04 18:59:55 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-04 18:59:55 +0000 |
| commit | be631a3cd1d97080d29456b11435c392848cb3ce (patch) | |
| tree | 2a3c82d6034fd43a4dbb32353876c4c4c30f4b68 /llvm | |
| parent | 6e447c571eced867f237a4889261c1820e329c35 (diff) | |
| download | bcm5719-llvm-be631a3cd1d97080d29456b11435c392848cb3ce.tar.gz bcm5719-llvm-be631a3cd1d97080d29456b11435c392848cb3ce.zip | |
Set a few more vimrc indentation options.
llvm-svn: 61628
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/utils/vim/vimrc b/llvm/utils/vim/vimrc index e57c2217c12..4be2b7f7934 100644 --- a/llvm/utils/vim/vimrc +++ b/llvm/utils/vim/vimrc @@ -25,8 +25,10 @@ match WhitespaceEOL /\s\+$/ " 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 |

