-
Notifications
You must be signed in to change notification settings - Fork 15
imenu doesn't support spec #74
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Also we might consider highlighting |
rrudakov
added a commit
to rrudakov/clojure-ts-mode
that referenced
this issue
Apr 8, 2025
5 tasks
rrudakov
added a commit
to rrudakov/clojure-ts-mode
that referenced
this issue
Apr 10, 2025
rrudakov
added a commit
to rrudakov/clojure-ts-mode
that referenced
this issue
Apr 10, 2025
bbatsov
pushed a commit
that referenced
this issue
Apr 10, 2025
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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 nameAnonymous
:In
clojure-mode
imenu supports specs.Would it be useful to define a special category for specs like this?
We can check if
def
has as
namespace to distinguish normal variables from specs (another option is to check if first item of a def is a keyword).The text was updated successfully, but these errors were encountered: