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

@ -5,22 +5,22 @@
(json_array)
(json_object)
(parenthesized_expression)
] @indent
] @indent.begin
; TODO: can't get this to work, goal is to indent at the property ":" prefix
; ((list (identifier) (property)) @aligned_indent
; (#set! "open_delimiter" "(")
; (#set! "close_delimiter" ")"))
; ((list (identifier) (property)) @indent.align
; (#set! indent.open_delimiter "(")
; (#set! indent.close_delimiter ")"))
[")" "}" "]"] @indent_end
[")" "}" "]"] @indent.end
[ "{" "}" ] @branch
[ "{" "}" ] @indent.branch
[ "(" ")" ] @branch
[ "(" ")" ] @indent.branch
[ "[" "]" ] @branch
[ "[" "]" ] @indent.branch
[
(ERROR)
(comment)
] @auto
] @indent.auto