mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
32 lines
448 B
Scheme
32 lines
448 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)
|
|
(try_statement)
|
|
] @indent.begin
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"{"
|
|
"}"
|
|
"["
|
|
"]"
|
|
] @indent.branch
|
|
|
|
[
|
|
"}"
|
|
] @indent.end
|
|
|
|
; this one is for dedenting the else block
|
|
(if_statement (block) @indent.branch)
|
|
|
|
(comment) @indent.ignore
|