Tree-sitter treats simple regex rules as anonymous nodes.
Remove queries for html_comment, template_comment, raw_block,
and embedded_language until proper named node structure is added.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove alias() calls that referenced undefined rules, which
prevented proper node type generation. Use simple regex patterns
instead.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
comment_content, raw_content, and embedded_content are regex
patterns that become anonymous nodes in tree-sitter. Remove
them from queries to fix "Invalid node type" errors.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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>
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>
- 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>