Fix manual connection

This commit is contained in:
Tim Pope 2014-06-29 18:53:41 -04:00
parent f2b6a2101f
commit 94ff1464a4

View File

@ -349,10 +349,10 @@ function! s:Connect(...) abort
redraw!
echo ':Connect'
echo 'Protocol> '.proto
let arg = {proto}#fireplace_connection#prompt()
let arg = fireplace#{proto}_connection#prompt()
endif
try
let connection = {proto}#fireplace_connection#open(arg)
let connection = fireplace#{proto}_connection#open(arg)
catch /.*/
return 'echoerr '.string(v:exception)
endtry