30 lines
500 B
Scheme
30 lines
500 B
Scheme
; SPDX-License-Identifier: Apache-2.0
|
|
; Source: nvim-treesitter (https://github.com/nvim-treesitter/nvim-treesitter)
|
|
|
|
[
|
|
(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
|