-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Neovim version (nvim -v | head -n1)
nvim 0.11.2
Operating system/version
debian bookworm
How to reproduce the issue
I use nvim-ufo with the proposed configuration, especially with zM and zR defined as closeAllFolds and openAllFolds.
provider_selector returns { 'lsp', 'indent' } with basedpyright as lspserver.
Everything works nicely unless when in a series of open python buffers there is one with a modeline saying
# vim: foldmethod=marker foldlevelstart=0
then all folds close at every :w in any of the buffers (not only the one with the modeline). And set foldlevel? shows the value 0 in every buffer.
Expected behavior
Folding should not change state when a buffer is written.
Actual behavior
Folding goes crazy; every fold gets closed when I switch to another buffer or when I write a buffer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working