mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 10:30:04 +08:00
35 lines
532 B
Scheme
35 lines
532 B
Scheme
; Subroutines & scoping
|
|
(block
|
|
")" @indent.branch .) @indent.begin
|
|
|
|
|
|
; Control flow statements
|
|
(
|
|
(if_block
|
|
condition: (_)
|
|
. (_) @_then) @indent.begin
|
|
(#not-has-type? @_then block)
|
|
)
|
|
|
|
(else_block) @indent.branch
|
|
|
|
(else_block
|
|
(if_block) @indent.dedent) @indent.branch
|
|
|
|
(
|
|
(else_block
|
|
(if_block
|
|
condition: (_)
|
|
. (_) @_then)) @indent.branch
|
|
(#not-has-type? @_then block)
|
|
)
|
|
|
|
(while_block
|
|
(command_expression)) @indent.auto
|
|
|
|
(repeat_block
|
|
(command_expression)) @indent.auto
|
|
|
|
|
|
(comment) @indent.auto
|