You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I can not reproduce. Autowriting works as expected with both global and local sessions.
Initialize local session
Open a bunch of buffers
Write session
Close neovim and again open a few buffers
Reopen neovim and call the read function with the local session name
Buffers from previous write are opened
I don't understand steps 4-5: is there a missing "open neovim" after the first "close neovim" step? What works is the following:
Open buffer 1.
Execute :lua MiniSessions.write('.cwd.session.vim') (replace cwd with the current directory name).
Open buffer 2 (so that there are two buffers now).
Close Neovim.
Open Neovim.
Execute :lua MiniSessions.read('.cwd.session.vim'). There are two buffers shown, because autowrite works as expected.
It can be repeated: open buffer 3 (so that there are two buffers now); close Neovim, open Neovim, read the session, and see that there are three buffers now.
Contributing guidelines
main
branchModule(s)
mini.sessions
Neovim version
0.10.x
Description
Autowrite doesn't seem to work for local sessions. I tried:
I checked the code and the autowrite function seems to default to global session
Reproduction
Default mini.nvim with
and Snacks.dashboard with a section:
The text was updated successfully, but these errors were encountered: