nvim-markdown icon indicating copy to clipboard operation
nvim-markdown copied to clipboard

foldlevel support

Open eprst opened this issue 3 years ago • 3 comments

Hi

Is there a way to use regular nvim folding mechanism with this extension? So that z* commands work, and, most importantly, foldlevel is respected?

Thanks

eprst avatar Jun 02 '22 07:06 eprst

Don't get notifications sorry. I don't think the stuff you want would work as the folds are not defined normally. I thought I could use treesitter to implement it eventually, but they only just now added the markdown parser. Might get to it later, but unlikely.

ixru avatar Jul 03 '22 17:07 ixru

Any updates on this?

It would be super nice

aemonge avatar Dec 13 '22 14:12 aemonge

There's an issue in neovim(#14977) where folds end up miscalculated after every edit. More troublesome than the current setup I think. The markdown parser itself also has a small bug where the folds end up slightly annoying, but I would add without it.

ixru avatar Dec 13 '22 16:12 ixru