mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 02:33:01 +02:00
* Use tree-sitter-htmlx for Svelte grammar * Update Svelte queries for htmlx grammar * Fix Svelte runtime queries * Fix Svelte style injections
39 lines
455 B
Scheme
39 lines
455 B
Scheme
[
|
|
(doctype)
|
|
(erroneous_end_tag)
|
|
] @rainbow.scope
|
|
|
|
([
|
|
(element)
|
|
] @rainbow.scope
|
|
(#set! rainbow.include-children))
|
|
|
|
[
|
|
(if_block)
|
|
(else_if_clause)
|
|
(else_clause)
|
|
(each_block)
|
|
(await_block)
|
|
(await_branch)
|
|
(attach_tag)
|
|
(html_tag)
|
|
(const_tag)
|
|
(debug_tag)
|
|
(render_tag)
|
|
(key_block)
|
|
(snippet_block)
|
|
(expression)
|
|
] @rainbow.scope
|
|
|
|
[
|
|
"<"
|
|
">"
|
|
"<!"
|
|
"</"
|
|
"/>"
|
|
(block_open)
|
|
(block_close)
|
|
"{"
|
|
"}"
|
|
] @rainbow.bracket
|