conjure

Jack Arrington 2025-12-21T07:39:33.136299Z

Could anyone here help illuminate what the recommended workflow in Conjure is for a project with both Clojure+ClojureScript? Is there any easy way to switch back and forth between the two REPLs?

Jack Arrington 2025-12-21T07:41:40.824209Z

Also, I'd be curious to hear if most people here use something like vim-jack-in, or just start their REPL themselves in the terminal

Olical 2025-12-21T09:46:51.096829Z

So I just start my REPL outside and have for years. I think that sort of tooling should be shared by the team in a script everyone can execute and not buried in editor config, personally.

👍 1
➕ 1
Olical 2025-12-21T09:48:41.175229Z

And here's the parts I added specifically to hop between cljs and clj connections. The article is a little old, there might be something newer out there somewhere https://github.com/Olical/conjure/wiki/Multiple-connections-with-ConjureClientState

Olical 2025-12-21T09:50:27.583319Z

But client state is what you want. It allows you to have many different instances of the client at once, configured differently and connected to different REPLs. You can manually flip between by mapping keys to different state keys or you can set up an autocmd for your project to do it based on the file extension.

Jack Arrington 2025-12-21T10:49:57.708959Z

Thank you!

Jack Arrington 2025-12-21T10:50:19.446809Z

> So I just start my REPL outside and have for years. I think that sort of tooling should be shared by the team in a script everyone can execute and not buried in editor config, personally. Yep, that reasoning makes sense to me as well