pub fn folding_ranges(source: &str) -> Vec<FoldingRange>Expand description
textDocument/foldingRange — the structural multi-line constructs plus
multi-line comment runs. A range is emitted only when it spans more than
one line (LSP folds ≥2 lines); duplicate (start, end) line pairs (a decl
and its body sharing both lines) collapse to one.