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

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

malabarba19:07:20

Sure. What's your issue?

biscuitpants19:07:29

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

biscuitpants19:07:28

i’ve got the macro

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

biscuitpants19:07:09

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

biscuitpants19:07:20

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

biscuitpants19:07:33

but, defc does not have to have <

biscuitpants19:07:47

it can just be

(defc afn [args] …)

biscuitpants20:07:33

another example:

biscuitpants20:07:56

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