mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
430 B
Scheme
24 lines
430 B
Scheme
[
|
|
(block)
|
|
(enum_declaration)
|
|
(union_declaration)
|
|
(struct_declaration)
|
|
(struct)
|
|
(parameters)
|
|
(tuple_type)
|
|
(call_expression)
|
|
(switch_case)
|
|
] @indent
|
|
|
|
[
|
|
")"
|
|
"]"
|
|
] @outdent
|
|
|
|
; Have to do all closing brackets separately because the one for switch statements shouldn't end.
|
|
(block "}" @outdent)
|
|
(enum_declaration "}" @outdent)
|
|
(union_declaration "}" @outdent)
|
|
(struct_declaration "}" @outdent)
|
|
(struct "}" @outdent)
|