gcc/contrib/vim-gcc-dev
2024-01-03 12:19:35 +01:00
..
ftdetect Update copyright years. 2024-01-03 12:19:35 +01:00
syntax Update copyright years. 2024-01-03 12:19:35 +01:00
README contrib: introduce Vim addon directory, add match.pd syntax plugin 2018-06-29 16:14:46 +03:00

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.