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

27 lines
385 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)
(element)
(keyed_element)
(expression_case)
(default_case)
(type_case)
(communication_case)
(argument_list)
(field_declaration_list)
(block)
(type_switch_statement)
(expression_switch_statement)
] @indent
[
"case"
"}"
"]"
")"
] @outdent