From 1b2e58db97661f65f3b1d9a39302d1edcd1f5e41 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 7 Jan 2014 01:16:20 -0500 Subject: [PATCH] Allow debugging connection failures --- plugin/fireplace.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 53795c2..51ababe 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -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