Skip to content

Backtracking: Support prefixed functions #278

Closed
@the-kenny

Description

@the-kenny

A project of mine contains a macro like proxy which should get indented just like it. Being ClojureScript, it's usual to import macros prefixed. (Like (ui/defcomponent ...)).

After evaluating (put 'defcomponent 'clojure-backtracking-indent '(4 (2))), the implementation is nice. But it fails for ui/defcomponent because of the prefix.

The 'normal' indentation code works just fine with prefixed identifiers. Is there a chance we can get this for backtracking indent too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions