aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/go/indents.toml
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/go/indents.toml')
-rw-r--r--runtime/queries/go/indents.toml8
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",
]