nvim-markdown
nvim-markdown copied to clipboard
foldlevel support
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
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.
Any updates on this?
It would be super nice
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.