A Vim filetype plugin forgithub/hub
This plugin does filetype detection and syntax highlighting for buffers/files created bygithub/hub, a utility for working with Git + GitHub from the command line. In particular, this plugin does fancy things when you’re using hub to create new issues and pull requests.
PULLREQ_EDITMSGas a custom filetype.
- Use this custom filetype to highlight as markdown
- Support vim-pandoc syntax highlighting if we see it installed
- Detect comment character to highlight comments appropriately
- Thus, if you use an alternate comment character with hub, ATX-style headings are highlighted correctly.
Install using your favorite plugin manager. For example, to install using Vundle, add this line to your ~/.vimrc:
If you’re unfamiliar with using Vim plugins, check outVim as an IDE which will get you up to speed.
I actively welcome pull requests and issues. Feel free open them at your leisure.
Copyright Jake Zimmerman. email@example.com