nvim-treesitter/queries/yuck/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

26 lines
464 B
Scheme

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