Fork me on GitHub
Jan K14:12:04

Is there someone that has a working setup with vim-fireplace and Clojure 1.10 ?


I'll try loading up clojure 1.10 in a REPL and see if fireplace works!


seems to have worked fine with 1.10.0-RC5

Jan K14:12:31

Yeah I mean 1.10.0-RC5. What nREPL version are you using (it's printed when you do lein repl) that works? I keep getting random hangs when evaluating code, and/or exceptions raised when evaluating via fireplace are not reported properly 😞


REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.10.0-RC5
Java HotSpot(TM) 64-Bit Server VM 1.8.0_111-b14


The only dep in my project.clj is clojure

Jan K14:12:06

Looks same as mine. Do you see the correct exception when you do something like :Eval (/ 1 0) ?


Yep! I get the divide by zero exception


maybe try removing things from your ~/.lein/profiles.clj ?


oh, do you have venantius/ultra included? I recently had to remove that. Didn't have the time to figure out why it was a problem, but it was causing fireplace to do some weird things


oh, another potential difference I always forget about - I am using neovim


I will try it with vim, one second

Jan K15:12:59

I don't use ultra. Tinkering with profiles.clj didn't help, but I'll try some more. I'm using vim 8.1, not neovim.

Jan K15:12:48

actually the Eval exception works for me too, but when I evaluate exception throwing code with cpp I get this:

[] - Unhandled REPL handler exception processing message {:id fireplace-wilhelm-1544713309-20, :op stacktrace, :session bede9da2-e052-4d2c-b284-43f96f3d6fb6}

Jan K15:12:01

and vim hangs until I ctrl+c


I'm currently upgrading my vim version, then I'll try again!


cpp on (/ 1 0) works with 1.10 in neovim - i.e. I get the exception back. Waiting on non-neo vim to install


@trailcapital update cider-nrepl to 0.19-SNAPSHOT

👍 4

There's a bug where cider's stacktrace code blows up with the new 1.10 error messages


mine is working, @jkr.sw you should try that ^

Jan K15:12:39

@dominicm Yeah, seems like that helped! (using [cider/cider-nrepl "0.19.0-SNAPSHOT"] in .lein/profiles.clj)


sorry. Lost track of who's issue it was.

Jan K15:12:28

Thanks @dominicm and @trailcapital, now I can try some of that 1.10 goodness 🙂. Hopefully no random hangs will appear