[
  (array_access)
  (assembly_flags)
  (assembly_statement)
  (block_statement)
  (call_argument)
  (contract_body)
  (do_while_statement)
  (enum_body)
  (error_declaration)
  (for_statement)
  (function_body)
  (if_statement)
  (inline_array_expression)
  (meta_type_expression)
  (override_specifier)
  (parenthesized_expression)
  (slice_access)
  (struct_body)
  (struct_expression)
  (tuple_expression)
  (using_directive)
  (variable_declaration_tuple)
  (while_statement)
  (yul_block)
  (yul_function_call)
  (yul_function_definition)
  (yul_variable_declaration)
] @rainbow.scope

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