Issue type
Environment
Not relevant.
Problem
Currently there is no information about folding or evil-fold-list in the docs (e.g, here or here).
Per this reddit thread it is possible to select a backend by editing evil-fold-list, such as this example:
(setq evil-fold-list
`(((hs-minor-mode)
:open-all hs-show-all
:close-all hs-hide-all
:toggle hs-toggle-hiding
:open hs-show-block
:open-rec nil
:close hs-hide-block)
)
)
or to add a hook to enable folding with a particular package (one of vdiff-mode, vdiff-3way-mode, hs-minor-mode, hide-ifdef-mode, outline-mode, origami-mode) in a particular mode:
(use-package evil
:ensure t
:hook
('prog-mode . #'hs-minor-mode)
:config
(evil-mode 1)
)
It would be nice to have this in the documentation somewhere.
Issue type
Environment
Not relevant.
Problem
Currently there is no information about folding or evil-fold-list in the docs (e.g, here or here).
Per this reddit thread it is possible to select a backend by editing
evil-fold-list, such as this example:or to add a hook to enable folding with a particular package (one of vdiff-mode, vdiff-3way-mode, hs-minor-mode, hide-ifdef-mode, outline-mode, origami-mode) in a particular mode:
It would be nice to have this in the documentation somewhere.