1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/elixir/indents.scm
2022-04-14 12:01:23 +08:00

24 lines
336 B
Scheme
Vendored

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