Skip to content

imenu doesn't support spec #74

Closed
@rrudakov

Description

@rrudakov

Currently it's not possible to navigate to a spec definition using imenu with clojure-ts-mode, because only symbols are considered as definitions. So we see only one entry with the name Anonymous:

Image

In clojure-mode imenu supports specs.

Would it be useful to define a special category for specs like this?

Image

We can check if def has a s namespace to distinguish normal variables from specs (another option is to check if first item of a def is a keyword).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions