aboutsummaryrefslogtreecommitdiff
path: root/contrib/vim-gcc-dev/README
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2018-06-29 16:14:46 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2018-06-29 16:14:46 +0300
commitb33aa7209ed570864189dba4c070565ea4a1554b (patch)
tree052a406156c840221fbe3195518162676c678667 /contrib/vim-gcc-dev/README
parent8864590b7cad2b491407069d94068b65359e78c0 (diff)
downloadgcc-b33aa7209ed570864189dba4c070565ea4a1554b.zip
gcc-b33aa7209ed570864189dba4c070565ea4a1554b.tar.gz
gcc-b33aa7209ed570864189dba4c070565ea4a1554b.tar.bz2
contrib: introduce Vim addon directory, add match.pd syntax plugin
* vim-gcc-dev/README: New file. * vim-gcc-dev/ftdetect/gcc-dev.vim: New file. * vim-gcc-dev/syntax/gcc-match.vim: New file. * gimple.vim: Move under vim-gcc-dev/syntax/. * gcc-rtl.vim: Likewise. From-SVN: r262249
Diffstat (limited to 'contrib/vim-gcc-dev/README')
-rw-r--r--contrib/vim-gcc-dev/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/vim-gcc-dev/README b/contrib/vim-gcc-dev/README
new file mode 100644
index 0000000..29bbf48
--- /dev/null
+++ b/contrib/vim-gcc-dev/README
@@ -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.