diff options
author | Blaž Hrastnik | 2021-08-16 03:13:06 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-19 02:25:14 +0000 |
commit | 466528c49308f3e326f97eb65155650b3f78735b (patch) | |
tree | d26bec8302e31a686b6a92ffdd53c64f090e338d | |
parent | 2f42b2338ea617729d99578f07cc317b2d9cb0fe (diff) |
Golang indent improvements
-rw-r--r-- | runtime/queries/go/indents.toml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/queries/go/indents.toml b/runtime/queries/go/indents.toml index 17d73bed..7929ff50 100644 --- a/runtime/queries/go/indents.toml +++ b/runtime/queries/go/indents.toml @@ -1,20 +1,24 @@ indent = [ "import_declaration", "const_declaration", - "var_declaration", + #"var_declaration", + #"short_var_declaration", "type_declaration", "type_spec", # simply block should be enough # "function_declaration", # "method_declaration", - "composite_literal", + # "composite_literal", "func_literal", "literal_value", + "element", + "keyed_element", "expression_case", "default_case", "type_case", "communication_case", "argument_list", + "field_declaration_list", "block", ] |