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,8 @@
void main() {
}
class Test {
List<String> get progress => [
'0',
];
}

View File

@ -0,0 +1,13 @@
class Something {
final int number;
final Function(int) write;
Something(this.number, this.write);
}
void test() {
Something(
1,
(int number) {
);
}

View File

@ -0,0 +1,13 @@
// Example method that causes an issue with indentation on usage
void someMethod(
void onSuccess(),
void onError(Exception ex, StackTrace stackTrace),
) {
try {} catch (_, __) {}
}
void main() {
someMethod(() {
}, (Exception ex, StackTrace stackTrace) {
});
}

View File

@ -0,0 +1,30 @@
void test() {
switch(a) {
case 1:
}
}
void test() {
switch(a) {
default:
}
}
void test_break_dedent() {
switch(x) {
case 1:
break;
}
switch(y) {
case 2:
return;
}
}
void test_multi_case() {
switch(x) {
case 1:
case 2:
}
}

View File

@ -0,0 +1,13 @@
void test() {
try{
} catch(e) {
}
}
// Issue #4632
class Test {
void test(){
try {
}
}
}