-
-
Notifications
You must be signed in to change notification settings - Fork 155
Highlighting for go struct tags #555
Copy link
Copy link
Open
Description
Hi, I'm not sure if this will be useful, but I just created a tree-sitter parser for go struct tags:
https://github.com/DanWlker/tree-sitter-go_tags
The syntax tree has alot more things that can be highlighted, but I am unsure which would make it look good so I only highlight the tag.
Edit: It now follows https://cs.opensource.google/go/go/+/refs/tags/go1.24.1:src/reflect/type.go;l=1036
I am still figuring some stuff out like how to make syntax highlighting work without having to copy the highlights.scm file manually though
Feel free to close this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels