move 'in' to repeat

This commit is contained in:
Pedro Castro 2022-11-29 14:07:39 -03:00 committed by Stephan Seitz
parent ec3d4af104
commit 6d2b0bd381
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,6 @@
"]]" @punctuation.bracket) "]]" @punctuation.bracket)
[ [
"in"
(dots) (dots)
(break) (break)
(next) (next)
@ -118,6 +117,7 @@
"while" "while"
"repeat" "repeat"
"for" "for"
"in"
] @repeat ] @repeat
[ [

View file

@ -31,7 +31,7 @@ Lang$new(name = "r")$print()
for(i in 1:10) { for(i in 1:10) {
# <- @repeat # <- @repeat
# ^ @keyword # ^ @repeat
} }
add <- function(a, b = 1, ...) { add <- function(a, b = 1, ...) {