From 466528c49308f3e326f97eb65155650b3f78735b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 16 Aug 2021 12:13:06 +0900 Subject: [PATCH] Golang indent improvements --- runtime/queries/go/indents.toml | 8 ++++++-- 1 file 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", ]