mirror of
https://github.com/helix-editor/helix
synced 2026-01-26 17:48:22 +01:00
26 lines
473 B
Scheme
26 lines
473 B
Scheme
[
|
|
(block)
|
|
(enum_declaration)
|
|
(union_declaration)
|
|
(struct_declaration)
|
|
(struct)
|
|
(parameters)
|
|
(tuple_type)
|
|
(struct_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)
|
|
(struct_type "}" @outdent)
|