Michael Netshipise
dc9cb74320
Fix grammar to produce queryable nodes
...
Use seq() with named rules instead of inline regex patterns
to ensure raw_block, template_comment, etc. produce proper
named nodes that can be queried in highlights.scm
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 20:42: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
b6a168a2b6
Fix for loop parsing and add @if/@for in attribute positions
2026-01-19 08:13:00 +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