nvim-treesitter/queries/wgsl/indents.scm
George Harker cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00

19 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