1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/wgsl/indents.scm

20 lines
337 B
Scheme

[
(parameter_list)
(compound_statement)
(loop_statement)
(struct_declaration)
] @indent.begin
(compound_statement "}" @indent.end)
(loop_statement "}" @indent.end)
(function_declaration ")" @indent.end)
(struct_declaration "}" @indent.end)
[
"else"
")"
"}"
] @indent.branch
[(line_comment) (block_comment)] @indent.auto