Skip to content
Discussion options

You must be logged in to vote

Unfortunately, I don't think there is anything 'mini.sessions' specific that can be done here. It explicitly uses built-in sessions and this is what should be used to adjust here. If 'sessionoptions' doesn't work, then it might be an issue with 'nvim-ufo'.

For what it is worth, with foldmethod=indent fold state is saved between sessions (if fold was closed/open when writing session, it appears the same after reading session next time).

If there is some function/hook that 'nvim-ufo' requires to be executed in such cases, you can use it by defining config.hooks.post.read and or config.hooks.pre.write.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@x1unix
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.sessions
2 participants