mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -04:00
31 lines
430 B
Scheme
31 lines
430 B
Scheme
[
|
|
(class_body)
|
|
(function_body)
|
|
(function_expression_body)
|
|
(declaration (initializers))
|
|
(switch_block)
|
|
(if_statement)
|
|
(formal_parameter_list)
|
|
(formal_parameter)
|
|
(list_literal)
|
|
(return_statement)
|
|
(arguments)
|
|
] @indent.begin
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"{"
|
|
"}"
|
|
"["
|
|
"]"
|
|
] @indent.branch
|
|
|
|
[
|
|
"}"
|
|
] @indent.end
|
|
|
|
; this one is for dedenting the else block
|
|
(if_statement (block) @indent.branch)
|
|
|
|
(comment) @indent.ignore
|