aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/inko/indents.scm
blob: d2d9a5724a73b52fe48eb642bcbd2ecca08f71d1 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[
  (arguments)
  (array)
  (assign_field)
  (assign_local)
  (assign_receiver_field)
  (binary)
  (block)
  (bounds)
  (call)
  (cast)
  (class)
  (class_pattern)
  (compound_assign_field)
  (compound_assign_local)
  (compound_assign_receiver_field)
  (define_constant)
  (define_variable)
  (grouped_expression)
  (implement_trait)
  (match)
  (or_pattern)
  (reopen_class)
  (replace_field)
  (replace_local)
  (symbols)
  (trait)
  (tuple)
  (tuple_pattern)
  (type_arguments)
] @indent.begin

[
  ")"
  "]"
  "}"
] @indent.end @indent.branch

(line_comment) @indent.auto

(string) @indent.auto