Fork me on GitHub
#cider
<
2016-07-11
>
chrisetheridge18:07:31

Could anyone help me with {:style/indent …} ?

malabarba19:07:20

Sure. What's your issue?

chrisetheridge19:07:29

just unsure on how to style a certain indent i want to implement

chrisetheridge19:07:28

i’ve got the macro

(defc afn < another-fn
                   fn-2
                   fn-3
                   {:map “too”}
    [args])

chrisetheridge19:07:09

so, i’d like to have another-fn fn-2 fn-3 all indent under each other

chrisetheridge19:07:20

< is not a macro, it’s just a symbol

chrisetheridge19:07:33

but, defc does not have to have <

chrisetheridge19:07:47

it can just be

(defc afn [args] …)

chrisetheridge20:07:33

another example:

chrisetheridge20:07:56

rum/static or rum/reactive are just maps / can be fn's