Add cljc extension support to connection process

This commit is contained in:
Tim Pope 2015-06-23 15:56:50 -04:00
parent 7b2ae78bd7
commit cb3c270c99
1 changed files with 1 additions and 1 deletions

View File

@ -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'