aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/enforce/indents.scm
blob: b1dc79b2ef2a8633ea4c90a8d72726b829860b70 (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
[
  (block)
  (class_body)
  (enum_body)
  (switch_body)
  (array_creation)
  (formal_parameters)
  (actual_parameters)
] @indent.begin

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

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

(comment_line) @indent.ignore

[
  (ERROR)
  (comment_block)
] @indent.auto