mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 11:23:31 +04:00
5b1a628e81
Indentation of single line statements doesn't work, i.e. for (;;)<hit enter> leads to for(;;) <cursor here> Only blocks with curly braces are indented.
14 lines
288 B
Scheme
14 lines
288 B
Scheme
(function_definition
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(struct_specifier
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(enum_specifier
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(union_specifier
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(parameter_declaration) @parameter.inside
|