Closed REmerald closed 1 year ago
persistence uses just NEovim sessions under the hood.
It may be that your session file is corrupted. Delete it and it'll probably work againm.
Have the same issue using LazyVim on Windows 11. Tried to delete session folder, but still same issue.
yeah having the same issue, it adds the same file to session like this
badd +1 chiki/plugins/autoformat.lua
badd +1 chiki/autocmd.lua
badd +1 ~/.config/nvim/chiki/plugins/autoformat.lua
Not sure what causes it to be fair... couldn't find a issue under neovim repo either
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0-dev-546+g3bf887f6e
Operating system/version
Arch Linux
Describe the bug
Weird phantom empty buffer appears (partially copying the name of the other buffer) after restoring the session:
UPD: Happens after 2nd restart (after deleting
sessions/*
) if displayed buffer was not the last one in bufferline.Steps To Reproduce
rm -rf .local/state/lazyvim/sessions/*
require("persistence").load({ last = true })
; everything is ok no matter what buffer was on the screen prior to closing./home/remorin/Documents/program_in_C/practice/lettersum/object.c
will be duplicated to/home/remorin/Documents/program_in_C/practice/lettersum/lettersum/object.c
.)Expected Behavior
Everything should be restored as if the last buffer in bufferline was selected.
Repro