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