mirror of git://gcc.gnu.org/git/gcc.git
* vim-gcc-dev/README: New file. * vim-gcc-dev/ftdetect/gcc-dev.vim: New file. * vim-gcc-dev/syntax/gcc-match.vim: New file. * gimple.vim: Move under vim-gcc-dev/syntax/. * gcc-rtl.vim: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262249 138bc75d-0d04-0410-961f-82ee72b054a4 |
||
|---|---|---|
| .. | ||
| ftdetect | ||
| syntax | ||
| README | ||
README
This directory serves as a simple Vim addon for GCC development. It can be
symlinked or copied into Vim plugin directory as any other plugin. For
example, if using vim-pathogen plugin manager:
ln -s /path/to/gcc/contrib/vim-gcc-dev ~/.vim/bundle/
This adds syntax highlighting rules for the match.pd file and GIMPLE/RTL dumps.
You can also use RTL syntax rules for GCC machine desciption files by adding
autocmd BufRead *.md setf gcc-rtl
to your ~/.vimrc file.