Closed xuanhung1509 closed 1 year ago
Must be something in your config. Never heard anyone having such an issue before
@xuanhung1509 did you ever track this down? I'll try to take a look otherwise since this happens to me, too.
As far as I can tell, this has sth to do with the distro. The above issue exists in NvChad, but if I install onto LunarVim, it seems to work fine.
It's present in Astronvim as well, so that's useful info. Thanks!
I am encountering this issue in LazyVim as well. I did switch from NeoTree to mini.files but other than that my config is pretty stock LazyVim. Driving myself crazy trying to figure out how to stop it!
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
Linux Mint 21.1 Vera
Describe the bug
Suppose I have a single buffer![image](https://github.com/folke/persistence.nvim/assets/89293664/e6e6482f-3f18-4166-8c71-e56345b423d8)
However, on restore, it also creates an empty buffer for the directory, which is not what I expect (the buffer to the left of
![image](https://github.com/folke/persistence.nvim/assets/89293664/a9210655-082e-4bbc-a694-d85470c455cb)
App.tsx
)I've tried to exclude
"curdir"
fromoptions
but it doesn't work either. Actually, even if I setoptions
tonil
, it still functions as default.Steps To Reproduce
Expected Behavior
It should not create an empty buffer for current directory on restoring
Repro
No response