aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/jsx/rainbows.scm
blob: 38d8f2423d97dd43a8d44b6223448e067b3f27fd (plain) (blame)
1
2
3
4
5
6
7
8
9
; 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