James Reeves
James Reeves
The section of the Clojure style guide you link to recommends that forms shouldn't be indented 4 spaces, but in your original post you have indented 4 spaces. Was that...
Ah, yes, that's a known missing feature. Currently cljfmt is not aware of the threading macros when handling block indentation.
Can you provide the "before" code as well?
Yep, this is fine.
This functionality currently doesn't exist in cljfmt, and it would have to be an optional feature if it did. Extra whitespace between forms is not unusual in Clojure code, as...
Let's use `-`, as it's the usual convention.
I think it's fine to raise an error saying that STDIN and files cannot be processed at the same time.
Sure, I'll accept any well written PR that improves performance.
A fix for this would be welcome. cljfmt shouldn't remove the whitespace in this instance.