mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
move 'in' to repeat
This commit is contained in:
parent
ec3d4af104
commit
6d2b0bd381
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -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, ...) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue