goolord / alpha-nvim

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

Error 5108: Invalid buffer id: 1 #26

Closed zeitchef closed 3 years ago

zeitchef commented 3 years ago

I can't quite figure out why this is happening, but I'm getting the above error occasionally (see screenshot):

Screen Shot 2021-09-16 at 14 22 24
goolord commented 3 years ago

hmm, maybe on fast machines this code can get called before the buffer is even created. i can pcall deleting the buffer but then sometimes you would just have a hanging empty buffer. better than erroring, i guess

goolord commented 3 years ago

pushed a hotfix in https://github.com/goolord/alpha-nvim/commit/9df1a905018dfc788f0938dccdecf34c97bc9e9b, feel free to reepoen if you encounter it again