@olical what do you use to format clojure code on your workflow ?
Yeah, sorry when I said I didn't use any I meant == and =- to reindent forms.
This is something I've been wondering about too. The biggest thing that's missing (or, hopefully, what I'm missing) is respecting CIDER's style/indent
values.
Hmmm... It shouldn't be hard to use CIDER as equalprg
... :thinking_face:
We use cljfmt
to check formatting at the end, but I have found that there’s a misalignment on indentation (one space vs. two on non-special forms). I haven’t figured out how to get either to meet the other’s. But, yeah, just using ==
and default vim handling when editing.
Hey everyone! I recorded my vim + clojure setup a few days ago. I'm quite new to clojure and had a hard time figuring the basics out. So hopefully this can be of help to someone new to vim + clojure: https://youtu.be/gb58d9-W-kA
I don't 😅 I've been planning on forking an existing Clojure formatting plugin for a while and getting it to work with Conjure
I just haven't had the time recently
I just format by hand and don't find that I have to ever auto format anything (in years of prod work) I found auto formatting things like parinfer actually annoyed me more than helped since it formatted differently to how our team did things