From cb3c270c99cdcf5a93a2fca400040c0f25360716 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 23 Jun 2015 15:56:50 -0400 Subject: [PATCH] Add cljc extension support to connection process --- plugin/fireplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 11bceae..c035a5e 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -612,7 +612,7 @@ function! fireplace#platform(...) abort endif endfor let path = s:path_extract(getbufvar(buf, '&path')) - if !empty(path) && fnamemodify(bufname(buf), ':e') =~# '^cljx\=$' + if !empty(path) && fnamemodify(bufname(buf), ':e') =~# '^clj[cx]\=$' return extend({'_path': path, 'nr': bufnr(buf)}, s:oneoff) endif throw 'Fireplace: :Connect to a REPL or install classpath.vim'