diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index 3f074be..a4d3303 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -218,7 +218,7 @@ endfunction " Section: Fugitive :Gbrowse support function! rhubarb#fugitive_url(opts, ...) abort - if a:0 || type(a:opts) != type({}) || !has_key(a:opts, 'repo') + if a:0 || type(a:opts) != type({}) return '' endif let root = rhubarb#homepage_for_url(get(a:opts, 'remote'))