aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/meson/indents.scm
blob: 3e27d9200747188c888ba054ee0d4afadb724ceb (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
[
  (list)
  (dictionaries)
  (normal_command)
  (if_condition)
  (foreach_command)
  (ternaryoperator)
  (ERROR
    "?") ; support partial ternary
] @indent.begin

[
  ")"
  "]"
  "}"
  (elseif_command)
  (else_command)
  "endif"
  "endforeach"
] @indent.branch @indent.end

(expression_statement
  object: (_)) @indent.begin

(comment) @indent.auto