contrib/vim-gcc-dev/README
raw| 1 | This directory serves as a simple Vim addon for GCC development. It can be |
| 2 | symlinked or copied into Vim plugin directory as any other plugin. For |
| 3 | example, if using vim-pathogen plugin manager: |
| 4 | |
| 5 | ln -s /path/to/gcc/contrib/vim-gcc-dev ~/.vim/bundle/ |
| 6 | |
| 7 | This adds syntax highlighting rules for the match.pd file and GIMPLE/RTL dumps. |
| 8 | |
| 9 | You can also use RTL syntax rules for GCC machine desciption files by adding |
| 10 | |
| 11 | autocmd BufRead *.md setf gcc-rtl |
| 12 | |
| 13 | to your ~/.vimrc file. |