mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 03:13:29 +04:00
00ecc556a8
* Fix Go indenting * Fix bracket outdent predicate * Fix brace indenting (again)
29 lines
496 B
Scheme
29 lines
496 B
Scheme
[
|
|
(import_declaration)
|
|
(const_declaration)
|
|
(type_declaration)
|
|
(type_spec)
|
|
(func_literal)
|
|
(literal_value)
|
|
(literal_element)
|
|
(keyed_element)
|
|
(expression_case)
|
|
(default_case)
|
|
(type_case)
|
|
(communication_case)
|
|
(argument_list)
|
|
(field_declaration_list)
|
|
(block)
|
|
(type_switch_statement)
|
|
(expression_switch_statement)
|
|
(var_declaration)
|
|
] @indent
|
|
|
|
[
|
|
"]"
|
|
")"
|
|
] @outdent
|
|
|
|
((_ "}" @outdent) @outer (#not-kind-eq? @outer "select_statement"))
|
|
(communication_case) @extend
|