Withhttps://github.com/vim-pandoc/vim-pandoc and foldmethod = expr and foldexpr=pandoc#folding#FoldExpr(), then on opening a pandoc file, for example, a file with extension md, 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().