30 lines
506 B
TOML
30 lines
506 B
TOML
indent = [
|
|
"import_declaration",
|
|
"const_declaration",
|
|
#"var_declaration",
|
|
#"short_var_declaration",
|
|
"type_declaration",
|
|
"type_spec",
|
|
# simply block should be enough
|
|
# "function_declaration",
|
|
# "method_declaration",
|
|
# "composite_literal",
|
|
"func_literal",
|
|
"literal_value",
|
|
"element",
|
|
"keyed_element",
|
|
"expression_case",
|
|
"default_case",
|
|
"type_case",
|
|
"communication_case",
|
|
"argument_list",
|
|
"field_declaration_list",
|
|
"block",
|
|
]
|
|
|
|
outdent = [
|
|
"case",
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|