nvim-treesitter/queries/ruby/indents.scm

30 lines
265 B
Scheme
Raw Normal View History

2021-01-05 19:26:08 +07:00
[
(class)
2021-04-17 06:52:14 +01:00
(singleton_class)
2021-01-05 19:26:08 +07:00
(method)
(singleton_method)
2021-01-05 19:26:08 +07:00
(module)
(call)
(if)
(block)
(do_block)
(hash)
(array)
(argument_list)
(case)
2021-01-05 19:26:08 +07:00
] @indent
[
"("
")"
"{"
"}"
"["
"]"
(when)
2021-01-05 19:26:08 +07:00
(elsif)
"end"
] @branch
(comment) @ignore