feat(r)!: update parser and queries

Breaking change: remove node `(return)` in favor of `(identifier)`
This commit is contained in:
Christian Clason 2026-05-22 00:07:29 +02:00 committed by Christian Clason
parent 0c3a9cdfa2
commit 2ec268b5d0
2 changed files with 3 additions and 2 deletions

View file

@ -117,7 +117,8 @@ function: (extract_operator
(function_definition
name: "\\" @operator)
(return) @keyword.return
((identifier) @keyword.return
(#eq? @keyword.return "return"))
[
"if"