parent
7277fc4e6d
commit
bb84d556bc
@ -215,7 +215,7 @@ endfunction
|
||||
|
||||
function! s:Connect(...)
|
||||
if (a:0 ? a:1 : '') =~# '^\w\+://'
|
||||
let [proto, arg] = split(a:arg, '://')
|
||||
let [proto, arg] = split(a:1, '://')
|
||||
elseif a:0
|
||||
return 'echoerr '.string('Usage: :Connect proto://...')
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user