1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/r/indents.scm
2022-04-14 12:01:23 +08:00

31 lines
281 B
Scheme
Vendored

[
(brace_list)
(paren_list)
(special)
(pipe)
(call)
"|>"
"if"
"else"
"while"
"repeat"
"for"
] @indent
[
"}"
")"
] @branch
((formal_parameters (identifier)) @aligned_indent
(#set! "delimiter" "()"))
[
")"
"}"
] @indent_end
[
(comment)
] @ignore