diff options
Diffstat (limited to 'queries/cmake/indents.scm')
| -rw-r--r-- | queries/cmake/indents.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/queries/cmake/indents.scm b/queries/cmake/indents.scm new file mode 100644 index 000000000..6bb45d4f0 --- /dev/null +++ b/queries/cmake/indents.scm @@ -0,0 +1,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) |
