Feature description
Absolutely love this plugin. Thank you so much for your work!
The API already has openFoldsExceptKinds -- could we also get closeFoldsExceptKinds?
Describe the solution you'd like
My use-case is that I'd like zM to keep comments/documentation intact (not close comments and regions) while closing everything else (functions, class definitions, etc.).
If I could bind zM to call
require("ufo").closeFoldsExceptKinds({"comment", "region"})
that would be perfect.
Additional context
No response
Feature description
Absolutely love this plugin. Thank you so much for your work!
The API already has
openFoldsExceptKinds-- could we also getcloseFoldsExceptKinds?Describe the solution you'd like
My use-case is that I'd like
zMto keep comments/documentation intact (not close comments and regions) while closing everything else (functions, class definitions, etc.).If I could bind
zMto callthat would be perfect.
Additional context
No response