Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Multiple folds for the same section #162

Open
d-r-jenkins opened this issue Jun 17, 2023 · 0 comments
Open

Feature: Multiple folds for the same section #162

d-r-jenkins opened this issue Jun 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@d-r-jenkins
Copy link

I am using the default config and most current version at time of writing. Neovim version 0.9.1

If I have some heading, and then spam <Enter> 20 times (opening and closing the fold on the header 10 times), then instead of having one fold being opened and closed a lot, I end up with 10 identical folds, taking 10 presses of zd to get rid of them all. Also the folded text ends up looking like

----------- 50 lines: Title

instead of

-- 50 lines: Title

as it should.

This doesn't actually cause any problems for my workflow unless I want to delete all the folds in the buffer, but maybe if you preserve folds in your buffers and you are opening and closing headers a lot you could end up with a few hundred folds for one heading, which may be problematic.

@jakewvincent jakewvincent added the enhancement New feature or request label Oct 25, 2023
@jakewvincent jakewvincent changed the title Multiple folds for the same section Feature: Multiple folds for the same section Oct 25, 2023
@jakewvincent jakewvincent self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants