mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
feat(r)!: update parser and queries
Breaking change: remove node `(return)` in favor of `(identifier)`
This commit is contained in:
parent
0c3a9cdfa2
commit
2ec268b5d0
2 changed files with 3 additions and 2 deletions
|
|
@ -117,7 +117,8 @@ function: (extract_operator
|
|||
(function_definition
|
||||
name: "\\" @operator)
|
||||
|
||||
(return) @keyword.return
|
||||
((identifier) @keyword.return
|
||||
(#eq? @keyword.return "return"))
|
||||
|
||||
[
|
||||
"if"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue