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