Unnamed repository; edit this file 'description' to name the repository.
Golang indent adjustment
Blaž Hrastnik 2021-05-28
parent d708efe · commit a28eaa8
-rw-r--r--runtime/queries/go/indents.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/queries/go/indents.toml b/runtime/queries/go/indents.toml
index 9fa65bf9..7ddfa204 100644
--- a/runtime/queries/go/indents.toml
+++ b/runtime/queries/go/indents.toml
@@ -4,8 +4,9 @@ indent = [
"var_declaration",
"type_declaration",
"type_spec",
- "function_declaration",
- "method_declaration",
+ # simply block should be enough
+ # "function_declaration",
+ # "method_declaration",
"composite_literal",
"func_literal",
"literal_value",