Fix cryptic error on :Connect

This commit is contained in:
Tim Pope 2013-04-19 16:47:01 -04:00
parent 2efe294efb
commit 7984a4c260

View File

@ -173,7 +173,7 @@ endfunction
" }}}1
" :Connect {{{1
command! -bar -complete=customlist,s:connect_complete -nargs=* FireplaceConnect :exe s:Connect(<f-args>)
command! -bar -complete=customlist,s:connect_complete -nargs=+ FireplaceConnect :exe s:Connect(<f-args>)
function! fireplace#input_host_port()
let arg = input('Host> ', 'localhost')
@ -251,7 +251,7 @@ endfunction
augroup fireplace_connect
autocmd!
autocmd FileType clojure command! -bar -complete=customlist,s:connect_complete -nargs=* Connect :FireplaceConnect <args>
autocmd FileType clojure command! -bar -complete=customlist,s:connect_complete -nargs=+ Connect :FireplaceConnect <args>
augroup END
" }}}1