module

Adamantine::Folding

Constants

STANDARD_KIND_HINT = "region"

Class methods

merge_crystal_branches(lines : Array(String), ranges : Array(Tui::TextEditor::FoldRange)) : Array(Tui::TextEditor::FoldRange)

Adamas/Crystal LSP folds the whole if…end, but not else/elsif/when. Keep the closer (end / next branch) visible.

Source
parse_ranges(raw : JSON::Any | Nil) : Array(Tui::TextEditor::FoldRange)
Source
supported?(capabilities : JSON::Any | Nil) : Bool
Source