mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(r): resolve highlight regressions
This commit is contained in:
parent
fa19150d00
commit
f0e3b5c5fe
2 changed files with 15 additions and 9 deletions
|
|
@ -23,14 +23,14 @@ b <- list(name = "r", version = R.version$major)
|
|||
# ^ @variable.parameter
|
||||
# ^ @string
|
||||
# ^ @operator
|
||||
# ^ @variable
|
||||
# ^ @variable.member
|
||||
|
||||
Lang$new(name = "r")$print()
|
||||
# ^ @variable
|
||||
# ^ @function.method.call
|
||||
|
||||
for(i in 1:10) {
|
||||
# <- @keyword.repeat
|
||||
# ^ @keyword
|
||||
# ^ @keyword.repeat
|
||||
}
|
||||
|
||||
add <- function(a, b = 1, ...) {
|
||||
|
|
@ -39,6 +39,7 @@ add <- function(a, b = 1, ...) {
|
|||
# ^ @variable.parameter
|
||||
# ^ @constant.builtin
|
||||
return(a + b)
|
||||
# ^ @keyword.return
|
||||
}
|
||||
|
||||
base::letters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue