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