@jeremy642 To my knowledge Cursive should work just fine with the modern nREPL.
Perhaps you’re not on the latest version or something like this?
@bozhidar Cursive still uses the old one, but IIRC it should be compatible with the new server, right?
I’ll upgrade the nREPL Cursive uses for the next release, but that will only be for REPLs managed by Cursive - ones started via lein will use whatever version Lein uses.
@cfleming It’s compatible on the protocol level, but the middleware is not compatible because of the namespace change.
Generally it’s a bad idea to mix them in the same project as some middlewares use conditional requires to figure out which one to load and if some other code loads the unexpected nREPL you get into a situation like Jeremy’s.
> I’ll upgrade the nREPL Cursive uses for the next release, but that will only be for REPLs managed by Cursive - ones started via lein will use whatever version Lein uses.
That’d be great!
Now all tools are using the new nREPL in their current releases. In this situation I’ve decided to remove completely support for tools.nrepl in the projects I maintain and just encourage people to upgrade their boot/lein.