olimorris / persisted.nvim

💾 Simple session management for Neovim with git branching, autoloading and Telescope support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Respect Neovim's `sessionoptions` setting

calebdw opened this issue · comments

It would be great if the plugin could respect Neovim's sessionoptions setting, instead of having to repeat the list. Another option would be to provide a 'default' flag to pass to the plugin's options setting.

Thanks!

commented

Great point!

commented

This should be fixed now, let me know what you think.

I've added in a warning for anyone using a custom options value to let them know to use vim.o.sessionoptions.

It seems to work, thanks for being so responsive about it!