summaryrefslogtreecommitdiff
path: root/runtime/queries/go/indents.toml
blob: a174bc123675f6a307b214bb4408fb024f807a88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
indent = [
  "import_declaration",
  "const_declaration",
  "var_declaration",
  "type_declaration",
  "type_spec",
  # simply block should be enough
  # "function_declaration",
  # "method_declaration",
  "composite_literal",
  "func_literal",
  "literal_value",
  "expression_case",
  "default_case",
  # "communication_case",
  "argument_list",
  "select_statement",
  "block",
]

outdent = [
 "case",
 "}",
 "]",
 ")"
]