update comments, no functionality change
[oota-llvm.git] / utils / vim / README
index 6d103b5d48554a700616d3730a4afddb72d6fc4f..466de4f686a22d29380f2b503f3d17f4da29d9e3 100644 (file)
@@ -25,6 +25,19 @@ These are syntax highlighting files for the VIM editor. Included are:
 IMPORTANT: Making symlinks from ~/.vim/syntax/... to the syntax files in your
 LLVM source tree does not work, you DO need to copy the files directly.
 
+However, if you do not already have a ~/.vim/syntax/ directory, simply
+symlinking it to llvm/utils/vim will do the trick nicely, and you can stay
+up-to-date with CVS.
+
 Note: If you notice missing or incorrect syntax highlighting, please contact
 <llvmbugs [at] cs.uiuc.edu>; if you wish to provide a patch to improve the
 functionality, it will be most appreciated. Thank you.
+
+If you find yourself working with LLVM Makefiles often, but you don't get syntax
+highlighting (because the files have names such as Makefile.rules or
+TEST.nightly.Makefile), add the following to your ~/.vimrc:
+
+  " LLVM Makefile highlighting mode
+  augroup filetype
+    au! BufRead,BufNewFile *Makefile*     set filetype=make
+  augroup END