Reid Kleckner 644c65ae21 [X86] Add new calling convention that guarantees tail call optimization 5 years ago
..
ftdetect 1ac87035b9 Vim: Set filetype=python for lit configuration files. 10 years ago
ftplugin 11325f48fc [vim] Add the IR's comment prefix to the comments list. This allows vim 10 years ago
indent 79597d7489 Vim: Fix some bugs in llvm indent plugin. 10 years ago
syntax 644c65ae21 [X86] Add new calling convention that guarantees tail call optimization 5 years ago
README 2b070724f7 Line wrap README file 6 years ago
vimrc 4d5536b101 [Utils] Update comment in vimrc 8 years ago

README

-*- llvm/utils/vim/README -*-

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).

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.

Note: If you notice missing or incorrect syntax highlighting, please contact
; 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