mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat(r)!: update parser and queries
This commit is contained in:
parent
173515a5d2
commit
5373c90c55
9 changed files with 117 additions and 132 deletions
|
|
@ -1,9 +1,8 @@
|
|||
[
|
||||
(brace_list)
|
||||
(paren_list)
|
||||
(special)
|
||||
(pipe)
|
||||
(braced_expression)
|
||||
(parenthesized_expression)
|
||||
(call)
|
||||
"special"
|
||||
"|>"
|
||||
"if"
|
||||
"else"
|
||||
|
|
@ -12,16 +11,17 @@
|
|||
"for"
|
||||
] @indent.begin
|
||||
|
||||
(binary
|
||||
operator: (special)) @indent.begin
|
||||
(binary_operator
|
||||
operator: (_)) @indent.begin
|
||||
|
||||
[
|
||||
"}"
|
||||
")"
|
||||
] @indent.branch
|
||||
|
||||
((formal_parameters
|
||||
(identifier)) @indent.align
|
||||
((parameters
|
||||
(parameter
|
||||
name: (identifier))) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue