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

28 lines
413 B
Scheme
Raw Normal View History

2022-03-30 19:08:07 +04:00
[
(import_declaration)
(const_declaration)
(type_declaration)
(type_spec)
(func_literal)
(literal_value)
(literal_element)
2022-03-30 19:08:07 +04: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 19:36:52 +04:00
(var_declaration)
2022-03-30 19:08:07 +04:00
] @indent
[
"case"
"}"
"]"
")"
] @outdent