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