[llvm-commits] CVS: llvm/utils/vim/vimrc

Misha Brukman brukman at cs.uiuc.edu
Thu May 12 14:41:59 PDT 2005



Changes in directory llvm/utils/vim:

vimrc updated: 1.1 -> 1.2
---
Log message:

* Fix wording of the warning
* Add autoindent, smartindent, and smarttab options to the file


---
Diffs of the changes:  (+8 -2)

 vimrc |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


Index: llvm/utils/vim/vimrc
diff -u llvm/utils/vim/vimrc:1.1 llvm/utils/vim/vimrc:1.2
--- llvm/utils/vim/vimrc:1.1	Sun Apr 24 12:05:04 2005
+++ llvm/utils/vim/vimrc	Thu May 12 16:41:48 2005
@@ -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 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
 






More information about the llvm-commits mailing list