mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:10:05 +08:00
24 lines
355 B
Scheme
24 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 "|>"))
|