use indent.X syntax for captures and properties of set directives

update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
This commit is contained in:
George Harker 2023-03-20 14:44:39 -07:00 committed by Amaan Qureshi
parent b4fcc61175
commit cb568af539
80 changed files with 592 additions and 575 deletions

View file

@ -3,17 +3,17 @@
(compound_statement)
(loop_statement)
(struct_declaration)
] @indent
] @indent.begin
(compound_statement "}" @indent_end)
(loop_statement "}" @indent_end)
(function_declaration ")" @indent_end)
(struct_declaration "}" @indent_end)
(compound_statement "}" @indent.end)
(loop_statement "}" @indent.end)
(function_declaration ")" @indent.end)
(struct_declaration "}" @indent.end)
[
"else"
")"
"}"
] @branch
] @indent.branch
[(line_comment) (block_comment)] @auto
[(line_comment) (block_comment)] @indent.auto