Fork me on GitHub
#cider
<
2021-08-17
>
donavan13:08:30

Do indent specifications have anyway to treat a form differently if it’s on the same line of the symbol? Like the following:

(comment "some documentation on the same line"
  (some-form)
  (some-form))

(comment
  (some-form)
  (some-form))
I can obviously do one or the other but not both specifications at the same time. (BTW I don’t use two space indent everywhere so I guess I’m asking is can I do two space indent for just one macro?)

donavan13:08:28

Ah right, it’s just :defn, problem solved!

👍 3