diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2024-01-19 16:08:23 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-20 10:48:56 +0100 |
| commit | 6548bb64c11e0860a504de3012e8aa14e1d51d7e (patch) | |
| tree | c6dea405b7af49d5cc56e22aad3b895d64b98bbb /queries | |
| parent | Fixup format (#5934) (diff) | |
| download | nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar.gz nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar.bz2 nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar.lz nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar.xz nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.tar.zst nvim-treesitter-6548bb64c11e0860a504de3012e8aa14e1d51d7e.zip | |
feat(meson): add indents.scm
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/meson/indents.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/queries/meson/indents.scm b/queries/meson/indents.scm new file mode 100644 index 000000000..231f8b055 --- /dev/null +++ b/queries/meson/indents.scm @@ -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 |
