helix-mods/runtime/queries/ruby/indents.scm
Oskar Köök 98dd9c4f2b
Remove do_block from Ruby indents (#3976)
`do_block` and `block` seem to conflict, causing double-indentation in some cases. Removing `do_block` does not seem to have any negative effect, while fixing the double-indentation issue.
2022-09-26 13:04:32 -04:00

25 lines
226 B
Scheme

[
(argument_list)
(array)
(begin)
(block)
(call)
(class)
(case)
(elsif)
(if)
(hash)
(method)
(module)
(singleton_class)
(singleton_method)
] @indent
[
")"
"}"
"]"
"end"
"when"
] @outdent