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

23 lines
355 B
Scheme

[
(block)
(do_block)
(list)
(map)
(stab_clause)
(tuple)
(arguments)
] @indent.begin
[
")"
"]"
"after"
"catch"
"else"
"rescue"
"}"
"end"
] @indent.end @indent.branch
; Elixir pipelines are not indented, but other binary operator chains are
((binary_operator operator: _ @_operator) @indent.begin (#not-eq? @_operator "|>"))