mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
38 lines
425 B
Scheme
38 lines
425 B
Scheme
|
; 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
|