Open piranha opened 9 years ago
I've tried converting boot.repl-client/default-opts
in atom, but that's not very useful - I can't refer it from .profile.boot
anyway. Plus to actually make whidbey work I have to pass whidbey.render/render-str
as an argument there, and I can't (require 'whidbey.render)
in .profile.boot
as well.
I'm a bit lost on how to approach this.
Can you explain the :nrepl-context
situation please? Boot is running reply in standalone mode, i.e. reply isn't starting the nrepl server, and I don't see a :nrepl-context
option to pass to reply.main/launch-nrepl
.
In reply :nrepl-context
is used here. Give me few moments to see where it's called from.
Does it work in standalone mode? (That is to say, connecting to an already running nrepl server?)
Aha, here options are passed from reply.eval-modes.nrepl/main
to execute-with-client
.
I'm not sure, but guessing from the code - it should, right?
Reason for that is whidbey, which needs to pass
:nrepl-context
to REPLy to work correctly. Here is the link to IRC chat discussing this problem. It's desirable to have some way of doing that from.profile.boot
. :)