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

Folds open when adding dashed list items #45

Open
zplizzi opened this issue Sep 7, 2022 · 2 comments
Open

Folds open when adding dashed list items #45

zplizzi opened this issue Sep 7, 2022 · 2 comments

Comments

@zplizzi
Copy link

zplizzi commented Sep 7, 2022

When adding a new row to a dashed list, the sibling folds of the current fold open. I would expect folds to stay unchanged.

Here's a demo: https://www.loom.com/share/61c7cb4af99d46bf991322bd202db109. In the demo I'm just adding a new row (starting with o to add a new line, then just typing - hi).

Does anyone else have this problem or know how I can address it? Possibly it's interference with something else in my vimrc.

Here's the sample text from that demo:

# Level 0

## level 1

### level 2

lorem ipsum
- asdf
- hi

### more stuff

lorem ipsum

### more stuff

lorem ipsum
@anthony-geoghegan
Copy link

anthony-geoghegan commented Dec 8, 2022

For what it's worth, I wasn't able to reproduce this.

@zplizzi
Copy link
Author

zplizzi commented Dec 22, 2022

Thanks for testing! I stripped down my vimrc and discovered that it only happens when using "Nested" folding mode. Ie after calling :FoldToggle in a markdown file. Does it reproduce for you in this mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants