mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 20:24:29 +08:00
Swap in alternative API
This commit is contained in:
@@ -44,8 +44,8 @@ function! s:repo_homepage() abort
|
|||||||
if exists('b:rhubarb_homepage')
|
if exists('b:rhubarb_homepage')
|
||||||
return b:rhubarb_homepage
|
return b:rhubarb_homepage
|
||||||
endif
|
endif
|
||||||
if exists('*fugitive#RemoteUrl')
|
if exists('*FugitiveRemoteUrl')
|
||||||
let remote = fugitive#RemoteUrl()
|
let remote = FugitiveRemoteUrl()
|
||||||
else
|
else
|
||||||
let remote = fugitive#repo().config('remote.origin.url')
|
let remote = fugitive#repo().config('remote.origin.url')
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user