I am experimenting with using
zprint as the formatting engine for Calva Formatter. I am hoping that I will be able to offer it as an option to
cljfmt, which I am currently using.
Calva Formatter currently has two ”modes” of formatting. One that happens as you type and one explicit that is invoked on command (and on save, if that is enabled). The former is more relaxed and lets you keep empty lines around and such, while the latter is stricter and tidies things up more.
I am having trouble getting zprint to relax on removing newlines and I get lost in the documentation, so I’d like to have some examples, if such ones exist, my Google Fu fails me. Also general pointers from people using zprint would be nice.
I can follow up with more explicit requirements if that makes it easier to help me.
Thanks in advance!