mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Fix typo
This commit is contained in:
@@ -1268,7 +1268,7 @@ endfunction
|
|||||||
function! fugitive#RemoteUrl(...) abort
|
function! fugitive#RemoteUrl(...) abort
|
||||||
let args = copy(a:000)
|
let args = copy(a:000)
|
||||||
if len(args) && (type(args[0]) !=# type('') || args[0] =~# '^/\|^\a:[\\/]' && get(args, 1, '') !~# '^/\|^\a:[\\/]')
|
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] =~# '^:')
|
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)
|
call insert(args, a:1.remote_name)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user