Permalink
Browse files

github blame page has more information than blob

  • Loading branch information...
hoshinotsuyoshi committed Jun 24, 2018
1 parent 0396ad0 commit a670449c1bf09e01f0dbd974ea75d7a308274c5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/to-github.vim
@@ -84,7 +84,7 @@ function! ToGithub(count, line1, line2, ...)
let repo_root = s:run('git rev-parse --show-toplevel')
let file_path = bufname('%')
let file_path = substitute(file_path, repo_root . '/', '', 'e')
let url = join([github_url, username, repo, 'blob', commit, file_path], '/')
let url = join([github_url, username, repo, 'blame', commit, file_path], '/')
" Finally set the line numbers if necessary.
if a:count == -1

0 comments on commit a670449

Please sign in to comment.