File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ mod tests {
268
268
FoldKind :: ArgList => "arglist" ,
269
269
FoldKind :: Region => "region" ,
270
270
FoldKind :: Consts => "consts" ,
271
- FoldKind :: Statics => "statics"
271
+ FoldKind :: Statics => "statics" ,
272
272
} ;
273
273
assert_eq ! ( kind, & attr. unwrap( ) ) ;
274
274
}
Original file line number Diff line number Diff line change @@ -492,7 +492,11 @@ pub(crate) fn folding_range(
492
492
FoldKind :: Comment => Some ( lsp_types:: FoldingRangeKind :: Comment ) ,
493
493
FoldKind :: Imports => Some ( lsp_types:: FoldingRangeKind :: Imports ) ,
494
494
FoldKind :: Region => Some ( lsp_types:: FoldingRangeKind :: Region ) ,
495
- FoldKind :: Mods | FoldKind :: Block | FoldKind :: ArgList | FoldKind :: Consts | FoldKind :: Statics => None ,
495
+ FoldKind :: Mods
496
+ | FoldKind :: Block
497
+ | FoldKind :: ArgList
498
+ | FoldKind :: Consts
499
+ | FoldKind :: Statics => None ,
496
500
} ;
497
501
498
502
let range = range ( line_index, fold. range ) ;
You can’t perform that action at this time.
0 commit comments