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,56 @@
@wrapper
@modifier(
*
)
class EquilateralTriangle: NamedShape {
var sideLength: Double = 0.0
@attr
init(
sideLength: Double,
name: String
) {
self.sideLength = sideLength
}
deinit {
}
var perimeter: Double {
willSet {
}
didSet {
}
}
@funcattr
override func simpleDescription(a: int, b: int) -> String {
return "An equilateral triangle with sides of length \(sideLength)."
}
}
@attr
protocol ExampleProtocol {
var simpleDescription: String { get }
mutating func adjust()
}
@available(*)
func test() {
}
@attr(*)
typealias Foo = Bar
@attr
struct Foo<
Bar
> {
@Provider
var test = 1
subscript(index: Int) -> Int {
var foo = 2
}
}

View File

@ -0,0 +1,17 @@
func Test() {
(1 + 2)
[
1,
2,
3,
4,
5
].split()
let x = [
1: 2,
3: 4,
]
}

View File

@ -0,0 +1,34 @@
func Test() {
if true {
return
} else if true {
return
}
switch x {
case "1":
print("x")
default:
print("y")
@unknown default:
print("z")
}
for a in b {
}
while true{
}
repeat {
} while (true)
guard let name = person["name"] else {
return
}
return (
x + 1
)
}