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.
38 lines
425 B
Scheme
38 lines
425 B
Scheme
10 months ago
|
; indent
|
||
|
; ------
|
||
|
|
||
|
[
|
||
|
; (..., ...)
|
||
|
(parameter_list)
|
||
|
(argument_list)
|
||
|
|
||
|
; {..., ...}
|
||
|
(instance_argument_list)
|
||
|
|
||
|
; {...; ...}
|
||
|
(message_body)
|
||
|
(struct_body)
|
||
|
(contract_body)
|
||
|
(trait_body)
|
||
|
(function_body)
|
||
|
(block_statement)
|
||
|
|
||
|
; misc.
|
||
|
(binary_expression)
|
||
|
(return_statement)
|
||
|
] @indent
|
||
|
|
||
|
; outdent
|
||
|
; -------
|
||
|
|
||
|
[
|
||
|
"}"
|
||
|
")"
|
||
|
">"
|
||
|
] @outdent
|
||
|
|
||
|
; indent.always
|
||
|
; outdent.always
|
||
|
; align
|
||
|
; extend
|
||
|
; extend.prevent-once
|