mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
b1675e5355
This brings the utils/vim folder into a more vim-like format by moving the syntax hightlighting files into a syntax subdirectory. It adds some minimal settings that everyone should agree on to ftdetect/ftplugin and features a new indentation plugin for .ll files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235369 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ftdetect | ||
ftplugin | ||
indent | ||
syntax | ||
README | ||
vimrc |
-*- 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 <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