goolord / alpha-nvim

a lua powered greeter like vim-startify / dashboard-nvim
MIT License
1.73k stars 101 forks source link

Always skipped when remembering the last open buffers #242

Closed naquad closed 10 months ago

naquad commented 10 months ago

Since 26d95031e2c624c5317dbdce386eb89f9356d4c0 Alpha is never shown with the 'shada (aka 'viminfo) += % which recovers the buffer list.

goolord commented 10 months ago

can you elaborate? I don't think I understand what 'shada is

naquad commented 10 months ago

Pardon my terseness.

'shada is an option, before ShaDA implementation in NeoVIM it was known as 'viminfo (actually ShaDA supersedes the 'viminfo but no matter).

It allows you to save various info about the NeoVIM sessions. One of the options (%) allows to remember the open buffer list.

goolord commented 10 months ago

what exactly is your shada option set to? if that's your problem I can't reproduce

goolord commented 10 months ago

oh I see, I had to close nvim with a listed buffer first. ok, I'll see if I can fix this

goolord commented 10 months ago

should be fixed in https://github.com/goolord/alpha-nvim/commit/234822140b265ec4ba3203e3e0be0e0bb826dff5 @naquad can you test?

naquad commented 10 months ago

Works for me! Thank you for the fix :)