1
0
mirror of https://github.com/amix/vimrc synced 2025-07-07 08:45:00 +08:00

Update vim-rhubarb.

This commit is contained in:
Kurtis Moxley
2022-05-19 23:29:05 +08:00
parent ca2bc6ca9f
commit 315a7e1ebb
6 changed files with 71 additions and 2 deletions

View File

@ -301,8 +301,6 @@ function! rhubarb#FugitiveUrl(...) abort
return root . '/releases/tag/' . path[15:-1]
elseif path =~# '^\.git/refs/remotes/[^/]\+/.'
return root . '/commits/' . matchstr(path,'remotes/[^/]\+/\zs.*')
elseif path =~# '^\.git/\%(config$\|hooks\>\)'
return root . '/admin'
elseif path =~# '^\.git\>'
return root
endif