Remove invalid node queries from highlights.scm
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>
This commit is contained in:
parent
498a2d28e2
commit
7a0e24fbd4
|
|
@ -3,15 +3,12 @@
|
|||
; Comments
|
||||
(html_comment) @comment
|
||||
(template_comment) @comment
|
||||
(comment_content) @comment
|
||||
|
||||
; Raw blocks (verbatim content)
|
||||
(raw_block) @string.special
|
||||
(raw_content) @string.special
|
||||
|
||||
; Embedded language
|
||||
(embedded_language) @string.special
|
||||
(embedded_content) @string.special
|
||||
(language_name) @label
|
||||
|
||||
; Keywords
|
||||
|
|
|
|||
Loading…
Reference in New Issue