mkdnflow.nvim
mkdnflow.nvim copied to clipboard
Feature: Multiple folds for the same section
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.