famiu/bufdelete.nvim

[Bug] After the last update now buffers are randomly opened

pidgeon777 opened this issue · 4 comments

My mapping is:

        ["<M-q>"] = { "<CMD>lua require('bufdelete').bufdelete(0, true)<CR>", "Bufdelete current buffer" },

Before the last update, pressing <Alt+Q> correctly closed the buffer and switched to the following active one. When active buffers ended, an empy buffer was correctly displayed.

Now, following the last update, pressing <Alt+Q> close the current buffer and load a random one instead (I don't know if from MRU/history or one of the current active CWD, but for sure it wasn't active before that).

same question ...

Rolled back to the previous version and it worked fine.

famiu commented

Does the latest commit fix it?

@famiu

Works fine, it's fixed.

I also confirm it is now fixed, congratulations on the update quickness!

Best regards