-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Pinned buffers don't persist across sessions #649
Comments
@mokafolio do your session options include |
Amazing, that fixed it, I was not aware of |
Hey, |
this is what my |
Thanks for the reply, still didnt work. I pinned but after restarting nvim, its blank again. you mentioned groups.lua, where and what do you have in groups.lua? |
|
I am setting them in lua/options/init.lua |
do tabs save at all are only pinned tabs not working? How are you saving your sessions? Are you positive the sessions are actually properly saved? |
I was facing the same problem, but I fixed it by starting bufferline before my session plugin. lazy.vim: {
"olimorris/persisted.nvim",
dependencies = {
"akinsho/bufferline.nvim", -- <------ important ------
},
event = "VeryLazy",
opts = {
autoload = true,
},
} |
Is there an existing issue for this?
What happened?
When saving a session with pinned buffers, they are not restored when reloading the session.
What did you expect to happen?
I'd expect the pinned buffers to still be pinned after reloading the session.
Config
Additional Information
I can see that there is code to persist and restore pinned buffers insider groups.lua . I am not quite sure why it does not work or if there is a setting I am missing. I am using
mini.sessions
to save and reload (global) sessions. It internally just uses:mksession
. Thank you!commit
No response
The text was updated successfully, but these errors were encountered: