spacevim/bundle/nvim-treesitter-0.9.1/queries/odin/indents.scm

28 lines
379 B
Scheme
Raw Normal View History

2024-08-21 14:17:26 +08:00
[
(block)
(procedure_declaration)
(overloaded_procedure_declaration)
(enum_declaration)
(union_declaration)
(if_statement)
(else_if_clause)
(else_clause)
(when_statement)
(else_when_clause)
(for_statement)
(switch_case)
] @indent.begin
[
"}"
")"
"]"
] @indent.branch @indent.end
[
(comment)
(block_comment)
(string)
(ERROR)
] @indent.auto