From 8a4ced4f00a64480d472055190f6b3f963604f34 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 22 Jul 2018 17:10:02 -0400 Subject: [PATCH] Swap in alternative API --- autoload/rhubarb.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index eeca868..dc5604c 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -44,8 +44,8 @@ function! s:repo_homepage() abort if exists('b:rhubarb_homepage') return b:rhubarb_homepage endif - if exists('*fugitive#RemoteUrl') - let remote = fugitive#RemoteUrl() + if exists('*FugitiveRemoteUrl') + let remote = FugitiveRemoteUrl() else let remote = fugitive#repo().config('remote.origin.url') endif