-
Notifications
You must be signed in to change notification settings - Fork 24
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 deleted in split window with folddexpr=pandoc#folding#FoldExpr() #53
Comments
Any update on this or workaround? FastFold has otherwise been a godsend! |
This is working fine for me on Vim 8.1568 using the latest version of vim-pandoc. |
Hmm, I was having a problem that seemed like this (folds deleted when I split the buffer) but can't recreate with a new file. Must be something about that file itself. Thanks! I'll file a different bug if I can reproduce (up to you whether to close). |
Playing around some more I was able to recreate the problem with a new file after I split the buffer and run |
I figured out that my problems are coming from a conflict between vim-pandoc and vim's filetype.vim, with b:undo_ftplugin being executed when I run |
With
https://github.com/vim-pandoc/vim-pandoc
andfoldmethod = expr
andfoldexpr=pandoc#folding#FoldExpr()
, then on opening apandoc
file, for example, a file with extensionmd
, and splitting the window in which the buffer is displayed, for example by:split
, then all folds disappear and cannot be restored.This does not happen, for example, for
foldexpr=MarkdownFold()
.The text was updated successfully, but these errors were encountered: