aboutsummaryrefslogtreecommitdiffstats
path: root/utils/vim/README
diff options
context:
space:
mode:
Diffstat (limited to 'utils/vim/README')
-rw-r--r--utils/vim/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/vim/README b/utils/vim/README
index af0949d..466de4f 100644
--- a/utils/vim/README
+++ b/utils/vim/README
@@ -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