Golang indent improvements
This commit is contained in:
parent
2f42b2338e
commit
466528c493
1 changed files with 6 additions and 2 deletions
|
@ -1,20 +1,24 @@
|
||||||
indent = [
|
indent = [
|
||||||
"import_declaration",
|
"import_declaration",
|
||||||
"const_declaration",
|
"const_declaration",
|
||||||
"var_declaration",
|
#"var_declaration",
|
||||||
|
#"short_var_declaration",
|
||||||
"type_declaration",
|
"type_declaration",
|
||||||
"type_spec",
|
"type_spec",
|
||||||
# simply block should be enough
|
# simply block should be enough
|
||||||
# "function_declaration",
|
# "function_declaration",
|
||||||
# "method_declaration",
|
# "method_declaration",
|
||||||
"composite_literal",
|
# "composite_literal",
|
||||||
"func_literal",
|
"func_literal",
|
||||||
"literal_value",
|
"literal_value",
|
||||||
|
"element",
|
||||||
|
"keyed_element",
|
||||||
"expression_case",
|
"expression_case",
|
||||||
"default_case",
|
"default_case",
|
||||||
"type_case",
|
"type_case",
|
||||||
"communication_case",
|
"communication_case",
|
||||||
"argument_list",
|
"argument_list",
|
||||||
|
"field_declaration_list",
|
||||||
"block",
|
"block",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue