1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-07 20:46:21 +01:00
helix/runtime/queries/amber/rainbows.scm
2025-12-07 12:44:29 +09:00

31 lines
478 B
Scheme

[ "(" ")" "[" "]" "{" "}" ] @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