Fix cryptic error on :Connect
This commit is contained in:
parent
2efe294efb
commit
7984a4c260
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user