blob: 1100aef9ec776aa6f099853f281202802a566000 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
; runtime/queries/ruby/indents.scm.
; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
; https://mozilla.org/MPL/2.0/).
[
(argument_list)
(array)
(begin)
(block)
(call)
(class)
(case)
(if)
(hash)
(method)
(module)
(singleton_class)
(singleton_method)
] @indent
[
")"
"}"
"]"
"end"
"when"
"else"
"elsif"
"rescue"
"ensure"
] @outdent
|