helix/runtime/queries/go/indents.toml

27 lines
424 B
TOML
Raw Normal View History

2021-05-15 00:34:34 +08:00
indent = [
"import_declaration",
"const_declaration",
"var_declaration",
"type_declaration",
"type_spec",
2021-05-28 23:06:38 +08:00
# simply block should be enough
# "function_declaration",
# "method_declaration",
2021-05-15 00:34:34 +08:00
"composite_literal",
"func_literal",
"literal_value",
"expression_case",
"default_case",
2021-05-31 16:09:19 +08:00
# "communication_case",
2021-05-15 00:34:34 +08:00
"argument_list",
2021-05-31 16:09:19 +08:00
"select_statement",
"block",
2021-05-15 00:34:34 +08:00
]
outdent = [
"case",
"}",
"]",
")"
]