Regenerate nvim config
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
fn() {
|
||||
fn() {
|
||||
fn() {
|
||||
True
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
pub fn main() {
|
||||
assert Ok(i) =
|
||||
parse_int("123")
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
pub fn main() {
|
||||
True &&
|
||||
False
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
pub fn main() {
|
||||
case 1 {
|
||||
1 -> "One"
|
||||
2 -> {
|
||||
case 2 {
|
||||
2 -> "Two"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
pub const foo =
|
||||
"bar"
|
||||
@ -0,0 +1,15 @@
|
||||
import gleam/io
|
||||
|
||||
pub fn main() {
|
||||
io.println("Hello from main!")
|
||||
}
|
||||
|
||||
fn hidden() {
|
||||
io.println("Hello from hidden!")
|
||||
}
|
||||
|
||||
pub external fn inspect(a) -> a =
|
||||
"Elixir.IO" "inspect"
|
||||
|
||||
external fn inspect(a) -> a =
|
||||
"Elixir.IO" "inspect"
|
||||
@ -0,0 +1,4 @@
|
||||
import foo.{
|
||||
Bar,
|
||||
baz,
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
pub fn main() {
|
||||
let string =
|
||||
"string"
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
pub fn main() {
|
||||
[
|
||||
a,
|
||||
..[
|
||||
b,
|
||||
..[
|
||||
c,
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
pub fn main() {
|
||||
one()
|
||||
|> two()
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
pub fn main() {
|
||||
todo(
|
||||
"Foo"
|
||||
)
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
pub fn main() {
|
||||
#(
|
||||
a,
|
||||
#(
|
||||
b,
|
||||
#(
|
||||
c
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
pub type Cat {
|
||||
Cat(name: String, cuteness: Int)
|
||||
}
|
||||
|
||||
type User {
|
||||
LoggedIn(name: String)
|
||||
Guest
|
||||
}
|
||||
|
||||
pub opaque type Counter {
|
||||
Counter(value: Int)
|
||||
}
|
||||
|
||||
pub type Headers =
|
||||
List(#(String, String))
|
||||
|
||||
type Headers =
|
||||
List(#(String, String))
|
||||
Reference in New Issue
Block a user