Replies: 1 comment 2 replies
-
I don't recall ever coming across that error code. Are you on Neovim 0.9.2? My sessionoptions are set in my config, here. I am using nvim-ufo these days too. Might be worth playing around with that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is an issue with persisted.nvim or Neovim itself.
When loading a session, nvim experiences error
E490: No fold found
. This is apparently a telescope issue as well.I can give up on
folds
fromsessionoptions
to prevent this error from affecting startup (session restore). Either way, folds won't work in the session-restored buffers unless I have nvim recompute them:Do you experience this as well when restoring buffers and autoloading? I.e.
za
throwsE490
unless you invokezx
first, or open another buffer.If so, I wonder if you could add a workaround to the plugin itself. Maybe it misses some nvim default action when restoring buffers, the same way telescope does.
Beta Was this translation helpful? Give feedback.
All reactions