Allow debugging connection failures

This commit is contained in:
Tim Pope 2014-01-07 01:16:20 -05:00
parent 9664516d5f
commit 1b2e58db97

View File

@ -1225,6 +1225,11 @@ function! s:leiningen_connect() abort
try try
call s:register_connection(nrepl#fireplace_connection#open(port), b:leiningen_root) call s:register_connection(nrepl#fireplace_connection#open(port), b:leiningen_root)
catch /^nREPL Connection Error:/ catch /^nREPL Connection Error:/
if &verbose
echohl WarningMSG
echomsg v:exception
echohl None
endif
endtry endtry
endif endif
endfunction endfunction