Regenerate nvim config
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
void main() {
|
||||
}
|
||||
|
||||
class Test {
|
||||
List<String> get progress => [
|
||||
'0',
|
||||
];
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
class Something {
|
||||
final int number;
|
||||
final Function(int) write;
|
||||
|
||||
Something(this.number, this.write);
|
||||
}
|
||||
|
||||
void test() {
|
||||
Something(
|
||||
1,
|
||||
(int number) {
|
||||
);
|
||||
}
|
||||
@ -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) {
|
||||
});
|
||||
}
|
||||
@ -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:
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
void test() {
|
||||
try{
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
|
||||
// Issue #4632
|
||||
class Test {
|
||||
void test(){
|
||||
try {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user