mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
42 lines
596 B
Scheme
42 lines
596 B
Scheme
|
(function_definition
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(while_statement
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(for_statement
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(if_statement
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(elseif_clause
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(else_clause
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(switch_statement) @context
|
||
|
|
||
|
(case_clause
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(otherwise_clause
|
||
|
(block (_) @context.end)
|
||
|
) @context
|
||
|
|
||
|
(try_statement
|
||
|
"try"
|
||
|
(block (_) @context.end) @context
|
||
|
"end")
|
||
|
(catch_clause
|
||
|
"catch"
|
||
|
(block (_) @context.end) @context)
|