Skip to content

Conversation

mrnossiom
Copy link
Contributor

Adds KDL highlight support for slashdash /- node comments.

It matches node_comment and node_field_comment, which are the /- prefix tags as comment.
Further more, it captures nodes and node_fields that start which such a prefix as comments. However, testing it in Helix with :ts-highlight-name shows that while the nodes are correctly identified, they are still captured by other highlight names and keep their normal color.

I tried to play with injection queries, but it does not seem to be the solution here.

Thanks

@the-mikedavis the-mikedavis merged commit 4547133 into helix-editor:master Oct 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants