1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 18:14:00 +08:00
SpaceVim/bundle/nvim-treesitter/queries/wgsl/indents.scm

20 lines
294 B
Scheme
Vendored

[
(parameter_list)
(compound_statement)
(loop_statement)
(struct_declaration)
] @indent
(compound_statement "}" @indent_end)
(loop_statement "}" @indent_end)
(function_declaration ")" @indent_end)
(struct_declaration "}" @indent_end)
[
"else"
")"
"}"
] @branch
(comment) @auto