1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-08 08:56:21 +01:00
helix/runtime/queries/jsx/rainbows.scm
2025-07-26 18:02:29 -04:00

10 lines
256 B
Scheme

; inherits: ecma
[
(jsx_expression)
] @rainbow.scope
(jsx_opening_element ["<" ">"] @rainbow.bracket) @rainbow.scope
(jsx_closing_element ["</" ">"] @rainbow.bracket) @rainbow.scope
(jsx_self_closing_element ["<" "/>"] @rainbow.bracket) @rainbow.scope