Fork me on GitHub
#vim
<
2019-05-09
>
Hukka13:05:59

Hmh. Is there a way to sidestep the removed pprint middlewares in cider-nrepl, to get vim-fireplace to pretty print again?

Hukka13:05:39

I tried let g:fireplace_pprint_fn = 'clojure.pprint/pprint' in init.vim without any effect

dominicm16:05:03

I'll make a todo to contribute upstream

dominicm16:05:18

I'm a bit annoyed that it's a completely different signature, so it's got to be fireplace_pprint_fn2 or something, but it's a conversation starter

nate20:05:40

what version of cider nrepl broke vim-fireplace's pprinting?

nate20:05:54

0.21.0 breaks it for me

nate21:05:00

seems like 0.19.0 -> 0.20.0 is what breaks it for me

nate21:05:26

also, I learned that the clojure command caches the classpath until your projects deps.edn changes. I was changing my nrepl and cider nrepl versions in ~/.clojure/deps.edn and they were not taking effect until I touched my project's deps.edn