Closed kaddkaka closed 1 year ago
https://github.com/kevinhwang91/nvim-ufo/issues/125#issuecomment-1499262567 is what you should review.
@kevinhwang91 Sorry I'm not sure I could find anything of relevance. The folds are correct (look good) with indent provider - I just don't want them to be automatic.
Same here, please I do not understand why the folding is automatic.. This is an amazing plugin but we need to Manual folding.
Feature description
The automatic fold is scary and makes things "jump around" as if alive, especially the automatic close of folds is something I want to avoid. I would prefer to create/open/close them manually.
I'm really just interested in getting folds to include the newline just before the fold, such that:
Can fold into
With preserved syntax highlight for the unfolded
# Banana
part.Describe the solution you'd like
Manual folding where the folded text does not occupy it's own line but rather just a few characters on the previous line.
If it's not configurable with ufo, what part of the code should I study to roll this behavior by myself?
Additional context
No response