From 79a6a1941d5a81deffb5c9897bd2966d721874ae Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 14 Sep 2021 14:04:42 -0400 Subject: [PATCH] Fix typo --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 15e85ba..a6d5cd0 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1268,7 +1268,7 @@ endfunction function! fugitive#RemoteUrl(...) abort let args = copy(a:000) if len(args) && (type(args[0]) !=# type('') || args[0] =~# '^/\|^\a:[\\/]' && get(args, 1, '') !~# '^/\|^\a:[\\/]') - let config = fugitive#Config(remote(args, 0)) + let config = fugitive#Config(remove(args, 0)) if type(a:1) ==# type({}) && has_key(a:1, 'remote_name') && (type(get(args, 0, 0)) !=# type('') || args[0] =~# '^:') call insert(args, a:1.remote_name) endif