diff options
Diffstat (limited to 'crates/rust-analyzer/src/to_proto.rs')
-rw-r--r-- | crates/rust-analyzer/src/to_proto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index 1ff2d3fea..c903ab523 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -465,7 +465,7 @@ pub(crate) fn folding_range( | |||
465 | let kind = match fold.kind { | 465 | let kind = match fold.kind { |
466 | FoldKind::Comment => Some(lsp_types::FoldingRangeKind::Comment), | 466 | FoldKind::Comment => Some(lsp_types::FoldingRangeKind::Comment), |
467 | FoldKind::Imports => Some(lsp_types::FoldingRangeKind::Imports), | 467 | FoldKind::Imports => Some(lsp_types::FoldingRangeKind::Imports), |
468 | FoldKind::Mods | FoldKind::Block | FoldKind::ArgList => None, | 468 | FoldKind::Mods | FoldKind::Block | FoldKind::ArgList | FoldKind::Region => None, |
469 | }; | 469 | }; |
470 | 470 | ||
471 | let range = range(line_index, fold.range); | 471 | let range = range(line_index, fold.range); |