Regenerate nvim config
This commit is contained in:
33
config/neovim/store/nvim-treesitter/queries/r/indents.scm
Normal file
33
config/neovim/store/nvim-treesitter/queries/r/indents.scm
Normal file
@ -0,0 +1,33 @@
|
||||
[
|
||||
(brace_list)
|
||||
(paren_list)
|
||||
(special)
|
||||
(pipe)
|
||||
(call)
|
||||
"|>"
|
||||
"if"
|
||||
"else"
|
||||
"while"
|
||||
"repeat"
|
||||
"for"
|
||||
] @indent.begin
|
||||
|
||||
(binary
|
||||
operator: (special)) @indent.begin
|
||||
|
||||
[
|
||||
"}"
|
||||
")"
|
||||
] @indent.branch
|
||||
|
||||
((formal_parameters
|
||||
(identifier)) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
[
|
||||
")"
|
||||
"}"
|
||||
] @indent.end
|
||||
|
||||
(comment) @indent.ignore
|
||||
Reference in New Issue
Block a user