Fix cryptic error on :Connect

This commit is contained in:
Tim Pope 2013-04-19 16:47:01 -04:00
parent 2efe294efb
commit 7984a4c260
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ endfunction
" }}}1 " }}}1
" :Connect {{{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() function! fireplace#input_host_port()
let arg = input('Host> ', 'localhost') let arg = input('Host> ', 'localhost')
@ -251,7 +251,7 @@ endfunction
augroup fireplace_connect augroup fireplace_connect
autocmd! 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 augroup END
" }}}1 " }}}1