summaryrefslogtreecommitdiff
path: root/runtime/queries/jsx/rainbows.scm
blob: cf4a7e6ae1ff50a7dbe5312d69c8d8e5c21e73d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
; inherits: ecma

[
  (jsx_expression)
] @rainbow.scope

(jsx_fragment ["<" "/" ">"] @rainbow.bracket) @rainbow.scope
(jsx_opening_element ["<" ">"] @rainbow.bracket) @rainbow.scope
(jsx_closing_element ["<" "/" ">"] @rainbow.bracket) @rainbow.scope
(jsx_self_closing_element ["<" "/" ">"] @rainbow.bracket) @rainbow.scope