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

Misha Brukman brukman at cs.uiuc.edu
Wed May 19 16:22:05 PDT 2004

Changes in directory llvm/utils/vim:

README updated: 1.3 -> 1.4

Log message:

Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.

Diffs of the changes:  (+9 -0)

Index: llvm/utils/vim/README
diff -u llvm/utils/vim/README:1.3 llvm/utils/vim/README:1.4
--- llvm/utils/vim/README:1.3	Mon Aug 11 13:05:19 2003
+++ llvm/utils/vim/README	Wed May 19 16:20:40 2004
@@ -32,3 +32,12 @@
 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

More information about the llvm-commits mailing list