conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
Santiago 2021-01-17T13:37:20.043200Z

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?

dharrigan 2021-01-17T17:05:26.043600Z

If you re-eval your buffer, then it'll reconnect

dharrigan 2021-01-17T17:05:32.043800Z

or re-eval a function

dharrigan 2021-01-17T17:06:22.044500Z

It won't do it actively, i.e., polling in the background waiting for a .nrepl-port to appear.

Santiago 2021-01-17T18:05:36.045600Z

@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

dharrigan 2021-01-17T18:08:16.047300Z

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

dharrigan 2021-01-17T18:08:39.047700Z

is there a .nrepl-port file in your directory?

Santiago 2021-01-17T18:08:44.048Z

yes

Santiago 2021-01-17T18:10:04.048500Z

I’m using neovim if that makes any difference

dharrigan 2021-01-17T18:10:11.048700Z

I use neovim too

dharrigan 2021-01-17T18:10:43.049Z

Are you up-to-date on the conjure plugin?

Santiago 2021-01-17T18:10:55.049300Z

updated just earlier today

Santiago 2021-01-17T18:11:39.050200Z

I’ll try a “clean” neovim and add the plugins one by one, sounds like something could be conflicting?

dharrigan 2021-01-17T18:12:25.050800Z

sure. Perhaps in the meantime, someone else may have an idea