aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/go/rainbows.scm
blob: 81004bf885b5f50fc1b745d61148ec56950e2528 (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
30
31
32
33
[
  (import_spec_list)
  (const_declaration)
  (var_declaration)
  (type_parameter_list)
  (parameter_list)
  (type_declaration)
  (parenthesized_type)
  (type_arguments)
  (array_type)
  (implicit_length_array_type)
  (slice_type)
  (field_declaration_list)
  (interface_type)
  (map_type)
  (block)
  (expression_switch_statement)
  (type_switch_statement)
  (select_statement)
  (parenthesized_expression)
  (argument_list)
  (index_expression)
  (slice_expression)
  (type_assertion_expression)
  (type_conversion_expression)
  (literal_value)
] @rainbow.scope

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