aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/xml/rainbows.scm
blob: 0ff9c7fac391935a4ec00baa3beb4561f6b4c877 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[
  (processing_instructions)
  (cdata_sect)
  (xml_decl)
  (doctype_decl)
  (element_decl)
  (element_choice)
  (element_seq)
  (mixed)
  (attlist_decl)
  (notation_type)
  (enumeration)
  (ge_decl)
  (pe_decl)
  (notation_decl)
] @rainbow.scope

((element) @rainbow.scope
 (#set! rainbow.include-children))

[
  "<?" "?>"
  "<" ">"
  "</" "/>"
  "<!"
  "(" ")"
  ")*"
  "[" "]"
] @rainbow.bracket