Fork me on GitHub
#cursive
<
2016-03-27
>
denik05:03:02

this time because it can’t be resolved I’m offered to create a function which I then delete after setting indentation. that does not affect other namespaces however

denik05:03:32

this is intellij 2016.1

cfleming23:03:39

@denik: So in that case the indentation code wouldn’t work well anyway since initLocalState isn’t a function itself, it’s an implementation of a type

cfleming23:03:52

Is that an om.next defui?

cfleming23:03:15

Those should be supported and indented correctly.

denik23:03:38

it’s coming from @anmonteiro’s om-css (he wrapped defui). The rules are not manually added per project/namespace or are they? In general wouldn’t it be a good idea to have default for any symbol that appears at the beginning of an expression? I’d always set the indentation there to 1.