1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,4 @@
func <- function(x,
y) {
}

View File

@ -0,0 +1,2 @@
# some
# comment

View File

@ -0,0 +1,12 @@
x <- 10
if (x > 3) {
x <- 3
} else if (x < 3) {
x <- -3
} else {
if (x > 0) {
x <- 1
}
x <- 0
}

View File

@ -0,0 +1,18 @@
foo <- function(x) {
bar <- function(a, b, c) {
return(a + b + c)
}
return(
bar(
x,
1,
2
)
)
}
baz <- function(l) {
inner(l, function(x) {
})
}

View File

@ -0,0 +1,17 @@
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
}
}

View File

@ -0,0 +1,10 @@
mtcars |>
head(
n = 6L
) |>
subset(
cyl > 3
)
mtcars %>%
head()