Add cljc extension support to connection process
This commit is contained in:
parent
7b2ae78bd7
commit
cb3c270c99
@ -612,7 +612,7 @@ function! fireplace#platform(...) abort
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
let path = s:path_extract(getbufvar(buf, '&path'))
|
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)
|
return extend({'_path': path, 'nr': bufnr(buf)}, s:oneoff)
|
||||||
endif
|
endif
|
||||||
throw 'Fireplace: :Connect to a REPL or install classpath.vim'
|
throw 'Fireplace: :Connect to a REPL or install classpath.vim'
|
||||||
|
Loading…
Reference in New Issue
Block a user