Open haraldan opened 1 month ago
Does this happen if you save and restore a session manually with mksess
and source
? Pretty sure this is just how Neovim's sessions work and auto-session doesn't actually have control over whether folds are saved on closed buffers
Issue When restoring a saved session, folds for all the buffers that are not in one of the current windows are lost.
To Reproduce
Expected behavior Folds are restored in all buffers.
Baseline:
sessionoptions=blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions
Linux 5.15.146.1-microsoft-standard-WSL2
v0.9.5