Post and show GitHub commit comment on vim
This plugin supports the following features;
- Post commit comment by vim
- Line comment
- Commit comment
- File comment
- Show commit line comment on vim
These command work on last modified git revision of editing file and origin
of remote.
Posts commit line comment to last modified revision of editing file and current cursored line.
Posts commit comment to last modified revision of editing file.
Posts commit file comment to last modified revision of editing file and current file.
Fetch commit comments and show line comments on Vim (insert into quickfix)
-
Generate access token of GitHub at "Personal access tokens" (https://github.com/settings/applications). This plugin only requires
repo
permission. -
Please put
.github_commit_comment.vim
file on your home directory. And fill github access token into this file. For example;
let g:github_commit_comment_vim = {'token': '__YOUR_ACCESS_TOKEN__'}
Fill URL of API endpoint in .github_commit_comment.vim
, like so;
let g:github_commit_comment_vim = {'api_endpoint': 'http://example.com/api/v3'}
Default API endpoint is "https://api.github.com". If you don't specify api_endpoint
, this plugin use the default URL.
let g:github_commit_comment_vim = {
\ 'token': '__YOUR_ACCESS_TOKEN__',
\ 'api_endpoint': 'http://example.com/api/v3'
\ }
MIT