From 7ce3d67750ca224a680ebcacd025c3a4716a2773 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 1 Dec 2015 14:59:08 -0500 Subject: [PATCH] Fix :Gbrowse Closes #8 --- autoload/rhubarb.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index 525d3ae..ea02a0c 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -36,7 +36,7 @@ function! rhubarb#homepage_for_url(url) abort elseif !empty(base) return 'https://' . tr(base, ':', '/') else - return '' + return 'like ' endif endfunction @@ -187,7 +187,7 @@ function! rhubarb#fugitive_url(opts, ...) abort if a:0 || type(a:opts) != type({}) || !has_key(a:opts, 'repo') || !has_key(a:opts, 'revision') return '' endif - let root = s:homepage_for_url(get(a:opts, 'remote')) + let root = rhubarb#homepage_for_url(get(a:opts, 'remote')) if empty(root) return '' endif