helix-mods/runtime/queries/go/indents.scm

28 lines
413 B
Scheme
Raw Normal View History

2022-03-30 17:08:07 +02:00
[
(import_declaration)
(const_declaration)
(type_declaration)
(type_spec)
(func_literal)
(literal_value)
(literal_element)
2022-03-30 17:08:07 +02:00
(keyed_element)
(expression_case)
(default_case)
(type_case)
(communication_case)
(argument_list)
(field_declaration_list)
(block)
(type_switch_statement)
(expression_switch_statement)
2022-11-27 16:36:52 +01:00
(var_declaration)
2022-03-30 17:08:07 +02:00
] @indent
[
"case"
"}"
"]"
")"
] @outdent