aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/rainbows.scm
blob: 1f80868ae517ed80ac3a610e1c77dfdf73bd71fa (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
[
  (preproc_params)
  (preproc_defined)
  (argument_list)
  (attribute_specifier)
  (ms_declspec_modifier)
  (declaration_list)
  (parenthesized_declarator)
  (parenthesized_expression)
  (abstract_parenthesized_declarator)
  (array_declarator)
  (compound_statement)
  (initializer_list)
  (compound_literal_expression)
  (enumerator_list)
  (field_declaration_list)
  (parameter_list)
  (for_statement)
  (macro_type_specifier)
  (subscript_expression)
  (subscript_designator)
  (cast_expression)
] @rainbow.scope

[
  "(" ")"
  "{" "}"
  "[" "]"
] @rainbow.bracket