aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cmake/indents.scm
blob: 6bb45d4f069dce8e1be890218b2dd2f7065de5f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[
  (normal_command)
  (if_condition)
  (foreach_loop)
  (while_loop)
  (function_def)
  (macro_def)
  (block_def)
] @indent.begin

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

(normal_command ")" @indent.branch)