Fork me on GitHub
#cider
<
2020-05-27
>
frozenlock01:05:57

nREPL has a sideloader since 7.0.0 (https://github.com/nrepl/nrepl/issues/97). Is it possible to use it to load Cider-nrepl?

bozhidar08:05:59

@frozenlock It’s not possible in 0.7, but it’s possible in 0.8 (the version currently in development).

bozhidar08:05:24

In 0.8 you can load middleware dynamically via the sideloader, before this you were limitted only to regular libraries.

bozhidar08:05:03

I mean - you could load cider-nrepl even then, but you wouldn’t be able to tell nREPL to actually load the middleware from it and update its middleware vector.

erwinrooijakkers09:05:48

Hi all, is there a way to limit the length of error messages printed to cider-error buffer? 🙂

bozhidar15:05:58

I don’t think we added provisions for this.

erwinrooijakkers09:05:24

Thanks. I did see a suggestion in an issue.

frozenlock15:05:06

Noted. Thank you very much for the detailed answer.

bozhidar15:05:02

You’re welcome!

mikerod16:05:46

I have observed that cider-jump-to which is called from cider-find-var seems to now always put the cursor/point on the last line of the buffer it navigates into. The line is not centered. So it means my point is really low in the buffer and I always forget and can’t find it.

mikerod16:05:01

I do not remember this being the case in the past. It used to be I believe centered on the line that was navigated to.

mikerod16:05:12

I’m on 0.25.0snapshot of cider

mikerod16:05:37

I’m wondering if my observation here is correct; or if anyone else has thoughts on it.

mikerod16:05:18

I basically always end up needing to call recenter-top-bottom

bozhidar20:05:55

We haven’t touched this in a very long time, so I guess this has been the behaviour for a while. Adding some (optional) recentering would be trivial. You can file a ticket for this.

mikerod21:05:14

Thanks @bozhidar I’ll see what I can do there then