Mercurial > hg > CbC > CbC_gcc
diff contrib/vim-gcc-dev/README @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/vim-gcc-dev/README Thu Oct 25 07:37:49 2018 +0900 @@ -0,0 +1,13 @@ +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.