aboutsummaryrefslogtreecommitdiff
path: root/helix-22.03-x86_64-windows/runtime/queries/go/indents.toml
blob: 7929ff50d37b7ef7f82d6c346d0eb24154610a91 (plain)
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
27
28
29
30
indent = [
  "import_declaration",
  "const_declaration",
  #"var_declaration",
  #"short_var_declaration",
  "type_declaration",
  "type_spec",
  # simply block should be enough
  # "function_declaration",
  # "method_declaration",
  # "composite_literal",
  "func_literal",
  "literal_value",
  "element",
  "keyed_element",
  "expression_case",
  "default_case",
  "type_case",
  "communication_case",
  "argument_list",
  "field_declaration_list",
  "block",
]

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