aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/cmake/indents.scm
blob: cbd976c7ab5a44668548fd12d62b64b973a321ed (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
[
  (normal_command)
  (if_condition)
  (foreach_loop)
  (while_loop)
  (function_def)
  (macro_def)
  (block_def)
] @indent.begin

[
  (elseif_command)
  (else_command)
  (endif_command)
  (endforeach_command)
  (endwhile_command)
  (endfunction_command)
  (endmacro_command)
  (endblock_command)
] @indent.branch

")" @indent.branch

")" @indent.end

(argument_list) @indent.auto