-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toplevel defs with metadata are not handled properly #42
Comments
Toplevel e.g for controlling visibility: or specifying viewers: |
I pushed a WIP branch trying to address this: #43 |
kommen
added a commit
to kommen/clojure-ts-mode
that referenced
this issue
Oct 23, 2024
kommen
added a commit
to kommen/clojure-ts-mode
that referenced
this issue
Oct 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is valid Clojure code and is handled correctly in
clojure-mode
:Expected behavior
To match the behavior of
clojure-mode
which is:-)
b
can navigated to via imenu-)
(def b 2)
properly font locked liked other toplevel defs-)
(def b 2)
not indentedActual behavior
-)
b
not included in imenu-)
(def b 2)
not font locked-)
(def b 2)
indentedSteps to reproduce the problem
Put this a
clojure-ts-mode
buffer:Environment & Version information
clojure-ts-mode version
tree-sitter-clojure grammar version
v0.0.12
Emacs version
E.g. 29.3
Operating system
macOS 14.4
The text was updated successfully, but these errors were encountered: