Skip to content

Navigation Menu

Sign in
Sign up

feat(highlights): add class def and generic idents - #331

Open
AlecGhost wants to merge 1 commit into
tree-sitter:master from
AlecGhost:type-highlights
Open

feat(highlights): add class def and generic idents #331
AlecGhost wants to merge 1 commit into
tree-sitter:master from
AlecGhost:type-highlights

Conversation

@AlecGhost

@AlecGhost AlecGhost commented Mar 9, 2026

Copy link
Copy Markdown

Changes

Add two new rules to highlights.scm.

  • Capture class definition identifiers as types.
  • Capture generic type identifiers as type

Notes

I saw that open PR #320 changes the node tree of generic_type by introducing another type node around the identifier.
This would make the second query here obsolete.
Please let me know how you would prefer to handle this.

Add two new rules to highlights.scm.
- Capture class definition identifiers as types.
- Capture generic type identifiers as types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /