* Fix wording of the warning
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 12 May 2005 21:41:48 +0000 (21:41 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 12 May 2005 21:41:48 +0000 (21:41 +0000)
* Add autoindent, smartindent, and smarttab options to the file

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

utils/vim/vimrc

index 6efd59c305b01d6caf6647b74b26ab44ee0d503b..3c872d986227421e79e2ea452734b9983c15b4a9 100644 (file)
@@ -2,8 +2,7 @@
 " Maintainer: LLVM Team, http://llvm.cs.uiuc.edu
 " Updated:    2005-04-24
 " WARNING:    Read before you source in all these commands and macros!  Some
-"             of them may change VIM behavior that you depend on and the
-"             settings here may depend on other settings that you may have.
+"             of them may change VIM behavior that you depend on.
 
 " Wrap text at 80 cols
 set textwidth=80
@@ -13,6 +12,13 @@ set tabstop=2
 set shiftwidth=2
 set expandtab
 
+" Optional
+" C/C++ programming helpers
+set autoindent
+set smartindent
+" Add and delete spaces in increments of `shiftwidth' for tabs
+set smarttab
+
 " Enable filetype detection
 filetype on