[
  (array_construction)
  (bracket_expression)
  (cast)
  (curly_construction)
  (curly_expression)
  (generic_parameter_list)
  (parameter_declaration_list)
  (parenthesized)
  (term_rewriting_pattern)
  (tuple_construction)
  (tuple_deconstruct_declaration)
  (typeof)
] @rainbow.scope

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