Folding range for consts
This commit is contained in:
@@ -492,7 +492,7 @@ pub(crate) fn folding_range(
|
||||
FoldKind::Comment => Some(lsp_types::FoldingRangeKind::Comment),
|
||||
FoldKind::Imports => Some(lsp_types::FoldingRangeKind::Imports),
|
||||
FoldKind::Region => Some(lsp_types::FoldingRangeKind::Region),
|
||||
FoldKind::Mods | FoldKind::Block | FoldKind::ArgList => None,
|
||||
FoldKind::Mods | FoldKind::Block | FoldKind::ArgList | FoldKind::Consts | FoldKind::Statics => None,
|
||||
};
|
||||
|
||||
let range = range(line_index, fold.range);
|
||||
|
||||
Reference in New Issue
Block a user