1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/bundle/nvim-treesitter/queries/ruby/indents.scm

44 lines
434 B
Scheme

[
(class)
(singleton_class)
(method)
(singleton_method)
(module)
(call)
(if)
(block)
(do_block)
(hash)
(array)
(argument_list)
(case)
(while)
(until)
(for)
(begin)
(unless)
(assignment)
(parenthesized_statements)
] @indent.begin
[
"end"
")"
"}"
"]"
] @indent.end
[
"end"
")"
"}"
"]"
(when)
(elsif)
(else)
(rescue)
(ensure)
] @indent.branch
(comment) @indent.ignore