mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
feat(meson): add indents.scm
This commit is contained in:
parent
d198a75e2c
commit
6548bb64c1
10 changed files with 172 additions and 0 deletions
25
queries/meson/indents.scm
Normal file
25
queries/meson/indents.scm
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[
|
||||
(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
|
||||
|
||||
(experession_statement
|
||||
object: (_)) @indent.begin
|
||||
|
||||
(comment) @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue