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

Update highlights.scm for content_tag #277

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

NullVoxPopuli
Copy link
Contributor

Updates the surrounding tokens for content-tag, <template> (the entirety of the contents here are passed to a sub-language, glimmer in this case in the screenshots)

Before:
image

After:
image

Info on content_tag:

Checklist

  • All tests pass in CI.
  • There are sufficient tests for the new fix/feature.
  • Grammar rules have not been renamed unless absolutely necessary.
  • The conflicts section hasn't grown too much.
  • The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).

@amaanq
Copy link
Member

amaanq commented Feb 14, 2024

tbh that's a nvim-treesitter specific capture, not a generic upstream one, but it's fine

@amaanq amaanq merged commit a635c0c into tree-sitter:master Feb 14, 2024
4 checks passed
@NullVoxPopuli NullVoxPopuli deleted the patch-1 branch February 14, 2024 23:35
@NullVoxPopuli
Copy link
Contributor Author

thanks, I'll PR to nvim-treesitter.

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