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>
This commit is contained in:
parent
dc9cb74320
commit
498a2d28e2
|
|
@ -2,12 +2,17 @@
|
|||
|
||||
; Comments
|
||||
(html_comment) @comment
|
||||
(template_comment) @comment
|
||||
(comment_content) @comment
|
||||
|
||||
; Raw blocks (verbatim content)
|
||||
(raw_block) @string.special
|
||||
(raw_content) @string.special
|
||||
|
||||
; Template comments
|
||||
(template_comment) @comment
|
||||
; Embedded language
|
||||
(embedded_language) @string.special
|
||||
(embedded_content) @string.special
|
||||
(language_name) @label
|
||||
|
||||
; Keywords
|
||||
"@use" @keyword
|
||||
|
|
@ -99,8 +104,5 @@
|
|||
(escape_sequence) @escape
|
||||
(escape_at) @escape
|
||||
|
||||
; Embedded
|
||||
(language_name) @label
|
||||
|
||||
; Variables (fallback)
|
||||
(identifier) @variable
|
||||
|
|
|
|||
Loading…
Reference in New Issue