aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/go/indents.scm
blob: 8bfc7c3fe14aafd1dd2c13e317a901ece9ff9223 (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
27
[
  (import_declaration)
  (const_declaration)
  (type_declaration)
  (type_spec)
  (func_literal)
  (literal_value)
  (element)
  (keyed_element)
  (expression_case)
  (default_case)
  (type_case)
  (communication_case)
  (argument_list)
  (field_declaration_list)
  (block)
  (type_switch_statement)
  (expression_switch_statement)
  (var_declaration)
] @indent

[
  "case"
  "}"
  "]"
  ")"
] @outdent