Skip to content
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

Better font-locking in method definitions #20

Closed
dannyfreeman opened this issue Sep 12, 2023 · 0 comments · Fixed by #21
Closed

Better font-locking in method definitions #20

dannyfreeman opened this issue Sep 12, 2023 · 0 comments · Fixed by #21
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dannyfreeman
Copy link
Contributor

Method definitions in forms like defprotocol, definterface, deftype, reify, etc should have nice font locking on the method names.

I've already done some work to make docstrings and semantic indentation work properly in these forms. Taking inspiration from that prior art, it should be fairly trivial to capture these nodes in the :definition font-lock feature.

@dannyfreeman dannyfreeman added enhancement New feature or request good first issue Good for newcomers labels Sep 12, 2023
rrudakov added a commit to rrudakov/clojure-ts-mode that referenced this issue Sep 12, 2023
rrudakov added a commit to rrudakov/clojure-ts-mode that referenced this issue Sep 12, 2023
rrudakov added a commit to rrudakov/clojure-ts-mode that referenced this issue Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant