Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 19 May 2004 21:20:40 +0000 (21:20 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 19 May 2004 21:20:40 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13606 91177308-0d34-0410-b5e6-96231b3b80d8

utils/vim/README

index af0949d85243352545efb79a0bed5d395447b869..466de4f686a22d29380f2b503f3d17f4da29d9e3 100644 (file)
@@ -32,3 +32,12 @@ 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