Allow debugging connection failures
This commit is contained in:
parent
9664516d5f
commit
1b2e58db97
@ -1225,6 +1225,11 @@ function! s:leiningen_connect() abort
|
||||
try
|
||||
call s:register_connection(nrepl#fireplace_connection#open(port), b:leiningen_root)
|
||||
catch /^nREPL Connection Error:/
|
||||
if &verbose
|
||||
echohl WarningMSG
|
||||
echomsg v:exception
|
||||
echohl None
|
||||
endif
|
||||
endtry
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user