[[https://melpa.org/#/lsp-origami][file:https://melpa.org/packages/lsp-origami-badge.svg]] [[https://stable.melpa.org/#/lsp-origami][file:https://stable.melpa.org/packages/lsp-origami-badge.svg]]
lsp-origami provides support for ~origami.el~ using language server protocol's ~textDocument/foldingRange~ functionality. It can be enabled with
(add-hook 'lsp-after-open-hook #'lsp-origami-try-enable)