mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:40:05 +08:00
use detected executable for clojure repl (#3932)
This commit is contained in:
parent
af773b6bff
commit
ae0f4f3b6f
@ -42,7 +42,7 @@ function! SpaceVim#layers#lang#clojure#config() abort
|
||||
" cmd-clj
|
||||
let clojure = get(filter(['cmd-clj'], 'executable(v:val)'), 0, 'clojure')
|
||||
call SpaceVim#plugins#runner#reg_runner('clojure', clojure . ' -M %s')
|
||||
call SpaceVim#plugins#repl#reg('clojure', 'cmd-clj')
|
||||
call SpaceVim#plugins#repl#reg('clojure', clojure)
|
||||
call SpaceVim#plugins#tasks#reg_provider(funcref('s:lein_tasks'))
|
||||
call add(g:spacevim_project_rooter_patterns, 'project.clj')
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user