xref: /netbsd-src/external/gpl3/gcc/dist/contrib/vim-gcc-dev/README (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1*181254a7SmrgThis directory serves as a simple Vim addon for GCC development.  It can be
2*181254a7Smrgsymlinked or copied into Vim plugin directory as any other plugin.  For
3*181254a7Smrgexample, if using vim-pathogen plugin manager:
4*181254a7Smrg
5*181254a7Smrg    ln -s /path/to/gcc/contrib/vim-gcc-dev ~/.vim/bundle/
6*181254a7Smrg
7*181254a7SmrgThis adds syntax highlighting rules for the match.pd file and GIMPLE/RTL dumps.
8*181254a7Smrg
9*181254a7SmrgYou can also use RTL syntax rules for GCC machine desciption files by adding
10*181254a7Smrg
11*181254a7Smrg    autocmd BufRead *.md  setf gcc-rtl
12*181254a7Smrg
13*181254a7Smrgto your ~/.vimrc file.
14