Skip to main content

folding_range_to_fold

Function folding_range_to_fold 

Source
pub fn folding_range_to_fold(r: FoldingRange) -> Fold
Expand description

Translate an LSP FoldingRange into the renderer-neutral Fold shape. Hashes (start_line, end_line, kind) for stable fold identity across re-fetches. Phase 5.8.AA.i: hoisted from lattice-ui-tui::app::folding_range_to_fold.