diff options
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index c0fe0216d..8ea9edc84 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -369,6 +369,7 @@ pub fn handle_folding_range( | |||
369 | let kind = match fold.kind { | 369 | let kind = match fold.kind { |
370 | FoldKind::Comment => Some(FoldingRangeKind::Comment), | 370 | FoldKind::Comment => Some(FoldingRangeKind::Comment), |
371 | FoldKind::Imports => Some(FoldingRangeKind::Imports), | 371 | FoldKind::Imports => Some(FoldingRangeKind::Imports), |
372 | FoldKind::Mods => None, | ||
372 | FoldKind::Block => None, | 373 | FoldKind::Block => None, |
373 | }; | 374 | }; |
374 | let range = fold.range.conv_with(&line_index); | 375 | let range = fold.range.conv_with(&line_index); |