You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/runtime/queries/go/indents.toml

27 lines
424 B
TOML

indent = [
"import_declaration",
"const_declaration",
"var_declaration",
"type_declaration",
"type_spec",
# simply block should be enough
# "function_declaration",
# "method_declaration",
"composite_literal",
"func_literal",
"literal_value",
"expression_case",
"default_case",
# "communication_case",
"argument_list",
"select_statement",
"block",
]
outdent = [
"case",
"}",
"]",
")"
]