nvim-treesitter/tests/indent/r/loop.R

18 lines
137 B
R
Raw Normal View History

2022-01-28 19:21:50 -03:00
x <- 1
while (x < 10) {
x <- x + 1
break
}
for (i in 1:3) {
x <- x + 1
}
repeat {
x <- x + 1
if (x > 100) {
break
}
}