Hi there, I’m seeing a strange behaviour on a very basic shadow-cljs app with vim, fireplace and cider-nrepl: I can eval s-expr with cpp
, get doc with K
and so on, but when I’m saving my file, the buffer is wiped out entirely. Has anyone already saw this behaviour?
it only happens when connected to cljs nREPL, it’s ok with clj nREPL
@noisesmith but you’re probably right on Eval!
because, on syntax error, the buffer is replaced with the error output from cljs
There I fixed it (kind of): I was using :FireplaceConnect
and then :CljEval (shadow/repl :app)
. This is wrong, using :Piggieback app
does the trick
Awesome, glad to hear it's sorted
Thanks anyway for giving it a though! 👍
that's really weird - one way that would happen is if something called Eval!
on the entire buffer on save
perhaps getting it mixed up with Eval