mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 16:40:05 +08:00
36 lines
646 B
Scheme
36 lines
646 B
Scheme
|
"end" @indent.end @indent.branch
|
||
|
|
||
|
[
|
||
|
(if_statement)
|
||
|
(for_statement)
|
||
|
(while_statement)
|
||
|
(switch_statement)
|
||
|
(try_statement)
|
||
|
(function_definition)
|
||
|
(class_definition)
|
||
|
(enumeration)
|
||
|
(events)
|
||
|
(methods)
|
||
|
(properties)
|
||
|
] @indent.begin
|
||
|
|
||
|
[
|
||
|
"elseif"
|
||
|
"else"
|
||
|
"case"
|
||
|
"otherwise"
|
||
|
"catch"
|
||
|
] @indent.branch
|
||
|
|
||
|
((matrix (row) @indent.align)
|
||
|
(#set! indent.open_delimiter "[")
|
||
|
(#set! indent.close_delimiter "]"))
|
||
|
((cell (row) @indent.align)
|
||
|
(#set! indent.open_delimiter "{")
|
||
|
(#set! indent.close_delimiter "}"))
|
||
|
((parenthesis) @indent.align
|
||
|
(#set! indent.open_delimiter "(")
|
||
|
(#set! indent.close_delimiter ")"))
|
||
|
|
||
|
(comment) @indent.auto
|