Fork me on GitHub
#parinfer
<
2017-07-06
>
urbank07:07:42

Is parinfer formating my code like this?

urbank07:07:12

the body of render insists on being aligned with the arguments

urbank07:07:23

whereas this isn't the case with defn

urbank07:07:26

Sorry, wrong culprit! It's the clojure mode not parinfer

rgdelato21:07:12

Quick sanity check just to help me wrap my head around things: In Lisp languages, is it normal for people to format code in this style?

(foo m {:a 1
        :b 2} bar)
I haven't been writing Clojure for too too long, but I'm more accustomed to seeing something like this:
(foo m {:a 1
        :b 2}
  bar)
...or this...
(foo m {:a 1
        :b 2}
       bar)

mattly21:07:36

I'd expect bar to be aligned with m