Closed stevanmilic closed 2 years ago
NOTE: The error doesn't happen always, and I can't understand why it fails sometimes.
Do you mean files or a single file? If a single file always happens, please provide the session file.
Not always a single file, it happens with different files too (but somewhat randomly). My hunch is that fold couldn't be found (opened) to due invalid session saved or smth. And then the ufo plugins breaks on that, it doesn't affect the overall loading of session, just the ufo.
Neovim version (nvim -v | head -n1)
head
Operating system/version
macOS 12.4
How to reproduce the issue
I'm getting this error when using the plugin with
auto-session
plugin, looks like some folds cannot be restored after entering session.Expected behavior
Actual behavior
NOTE: The error doesn't happen always, and I can't understand why it fails sometimes.