Michael Netshipise
498a2d28e2
Update highlights.scm for new grammar nodes
...
Add queries for comment_content, raw_content, embedded_content,
and embedded_language nodes produced by the updated grammar.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 20:45:49 +02:00
Michael Netshipise
769d8bfc51
Simplify grammar patterns for tree-sitter compatibility
...
- Use simple regex patterns for comments, raw blocks, embedded languages
- Add support for unquoted import paths
- Use string literals for keyword highlighting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 20:32:14 +02:00
Michael Netshipise
7c37d0b3bc
Add @if/@for support in JSON/JS/CSS embedded blocks
2026-01-19 08:41:25 +02:00
Michael Netshipise
6d858472b2
Add @let statement support
2026-01-19 08:00:36 +02:00
Michael Netshipise
f3a7ee0c2e
Fix multi-asterisk comments and update highlights
...
- Support variable asterisk counts: @* *@, @** **@, @*** ***@
- Add template_comment_1, template_comment_2, template_comment_3 rules
- Update highlights.scm to handle all comment variants
- Fix safe_expression highlighting (use node pattern instead of literal)
- Remove invalid :: punctuation rule (inside token())
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 07:54:08 +02:00
Michael Netshipise
8ea8f5eaed
Simplified highlights with standard capture names
2026-01-19 07:17:42 +02:00
Michael Netshipise
f1e5e2796f
Fix comment highlighting and precedence issues
2026-01-19 07:12:58 +02:00
Michael Netshipise
177b9c811c
Comprehensive highlights.scm with all token types
2026-01-19 07:05:24 +02:00
Michael Netshipise
56f54d9bcb
Initial commit
2026-01-19 06:22:42 +02:00