Unnamed repository; edit this file 'description' to name the repository.
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
[ "(" ")" "[" "]" "{" "}" ] @rainbow.bracket

[
  ; Functions and main block
  (function_definition)
  (main_block)

  ; Control flow blocks
  (if_cond)
  (if_chain)
  (if_ternary)
  (for_loop)
  (while_loop)
  (loop_infinite)

  ; General blocks
  (block)
  (command_modifier_block)

  ; Collections and grouping
  (array)
  (parameter_list)
  (function_parameter_list)
  (parentheses)

  ; Handlers
  (handler_failed)
  (handler_succeeded)
  (handler_exited)
] @rainbow.scope