Hello everyone! been using conjure for a while, nice work 😄 I’ve seen some people saying one cool thing about it is auto-reconnection if the REPL restarts. This does not happen to me e.g. start REPL (separate terminal), start neovim (conjure auto connects), then close REPL, conjure disconnects, then start REPL again in the same port and nothing happens I have to either :ConjureConnect
or \cf
Did I misread how auto reconnect should work or am I missing a piece of config?
If you re-eval your buffer, then it'll reconnect
or re-eval a function
It won't do it actively, i.e., polling in the background waiting for a .nrepl-port
to appear.
@dharrigan doesn’t work for me. here I closed the REPL and opened again then <leader>er
and <leader>eb
and Conjure did not reconnect
Just tried it again for me, and works. I created a new directory, did vim foo.clj
typed in (+ 1 2)
, then, in a separate terminal, in the same directory, I started a repl (`clj`), then back in vim I did ,eb
to eval my buffer, and it connectd to the reply and echo'ed out 3
is there a .nrepl-port
file in your directory?
yes
I’m using neovim if that makes any difference
I use neovim too
Are you up-to-date on the conjure plugin?
updated just earlier today
I’ll try a “clean” neovim and add the plugins one by one, sounds like something could be conflicting?
sure. Perhaps in the meantime, someone else may have an idea