nvim-treesitter/queries/meson/indents.scm
2024-02-20 10:10:11 +01:00

25 lines
351 B
Scheme

[
(list)
(dictionaries)
(normal_command)
(if_condition)
(foreach_command)
(ternaryoperator)
(ERROR
"?") ; support partial ternary
] @indent.begin
[
")"
"]"
"}"
(elseif_command)
(else_command)
"endif"
"endforeach"
] @indent.branch @indent.end
(expression_statement
object: (_)) @indent.begin
(comment) @indent.auto