神刀安全网

Vim-GitHub-Hub: plugin for GitHub/hub in Vim

vim-github-hub

A Vim filetype plugin forgithub/hub :zap:

Vim-GitHub-Hub: plugin for GitHub/hub in Vim

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.

Features

  • Detect ISSUE_EDITMSG and PULLREQ_EDITMSG as 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

Install using your favorite plugin manager. For example, to install using Vundle, add this line to your ~/.vimrc:

Plugin 'jez/vim-better-sml' 

If you’re unfamiliar with using Vim plugins, check outVim as an IDE which will get you up to speed.

Contributing

I actively welcome pull requests and issues. Feel free open them at your leisure.

License

Copyright Jake Zimmerman. jake@zimmerman.io

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Vim-GitHub-Hub: plugin for GitHub/hub in Vim

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址