From bb84d556bcee704c4eda5dadd2b587549075f3bb Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 6 Jan 2014 12:49:12 -0500 Subject: [PATCH] Fix :Connect with argument References #120. --- plugin/fireplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 662d4f3..c75359b 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -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