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

@ -6,7 +6,7 @@
(stab_clause)
(tuple)
(arguments)
] @indent
] @indent.begin
[
")"
@ -17,7 +17,7 @@
"rescue"
"}"
"end"
] @indent_end @branch
] @indent.end @indent.branch
; Elixir pipelines are not indented, but other binary operator chains are
((binary_operator operator: _ @_operator) @indent (#not-eq? @_operator "|>"))
((binary_operator operator: _ @_operator) @indent.begin (#not-eq? @_operator "|>"))