Remove :repl-env
for latest piggieback compatibility.
This commit is contained in:
parent
5866d0017a
commit
0aabcdd798
@ -228,9 +228,9 @@ function! s:repl.piggieback(arg, ...) abort
|
|||||||
elseif a:arg =~# '^\d\{1,5}$'
|
elseif a:arg =~# '^\d\{1,5}$'
|
||||||
call connection.eval("(require 'cljs.repl.browser)")
|
call connection.eval("(require 'cljs.repl.browser)")
|
||||||
let port = matchstr(a:arg, '^\d\{1,5}$')
|
let port = matchstr(a:arg, '^\d\{1,5}$')
|
||||||
let arg = ' :repl-env (cljs.repl.browser/repl-env :port '.port.')'
|
let arg = ' (cljs.repl.browser/repl-env :port '.port.')'
|
||||||
else
|
else
|
||||||
let arg = ' :repl-env ' . a:arg
|
let arg = ' ' . a:arg
|
||||||
endif
|
endif
|
||||||
let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')')
|
let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user