From 5e0d266ae43f46bc8018ad679238abbeb5a4a06d Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 1 Jan 2013 20:15:02 -0500 Subject: [PATCH] Catch more connection errors --- plugin/foreplay.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/foreplay.vim b/plugin/foreplay.vim index 0c43fc7..2832575 100644 --- a/plugin/foreplay.vim +++ b/plugin/foreplay.vim @@ -920,7 +920,7 @@ function! s:leiningen_connect() let s:leiningen_repl_ports[b:leiningen_root] = getftime(portfile) try call s:register_connection(nrepl#foreplay_connection#open(port), b:leiningen_root) - catch /^nREPL: Connection/ + catch /^nREPL: .*[Cc]onnection/ call delete(portfile) endtry endif