2003-08-12 01:56:08 +08:00
|
|
|
-*- llvm/utils/vim/README -*-
|
|
|
|
|
2015-04-21 09:35:42 +08:00
|
|
|
This directory contains settings for the vim editor to work on llvm *.ll and
|
|
|
|
tablegen *.td files. It comes with filetype detection rules in the (ftdetect),
|
|
|
|
syntax highlighting (syntax), some minimal sensible default settings (ftplugin)
|
|
|
|
and indentation plugins (indent).
|
2003-08-12 01:56:08 +08:00
|
|
|
|
2015-04-21 09:35:42 +08:00
|
|
|
To install copy all subdirectories to your $HOME/.vim or if you prefer create
|
|
|
|
symlinks to the files here. Do not copy the vimrc file here it is only meant as an inspiration and starting point for those working on llvm c++ code.
|
2003-08-12 02:05:19 +08:00
|
|
|
|
2003-08-12 01:56:08 +08:00
|
|
|
Note: If you notice missing or incorrect syntax highlighting, please contact
|
2015-08-05 11:51:17 +08:00
|
|
|
<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
|
2003-08-12 01:56:08 +08:00
|
|
|
functionality, it will be most appreciated. Thank you.
|
2004-05-20 05:20:40 +08:00
|
|
|
|
|
|
|
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
|