nvim-treesitter/runtime/queries/meson/indents.scm

26 lines
351 B
Scheme
Raw Permalink Normal View History

2024-01-19 16:08:23 +01:00
[
(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
2024-02-20 09:56:34 +01:00
(expression_statement
2024-01-19 16:08:23 +01:00
object: (_)) @indent.begin
(comment) @indent.auto