Closed bnhtho closed 1 month ago
Thanks for the issue!
That error is an expected behavior. The reason is that executing :bnext
means that you want to show another buffer in current (i.e. from 'mini.files') window. This doesn't make much sense from workflow perspective.
Also, I can not reproduce the error from the screenshot as it is most certainly not from the latest 'mini.nvim' (line 1515 does not contain any calls). On Neovim>=0.10 it should show something like "E1513: Cannot switch buffer. 'winfixbuf' is enabled". See #1173.
Closing as it is most certainly a fixed behavior.
Contributing guidelines
Module(s)
mini.files
Description
It seems everytime switch buffer command by using
:bnext
comment when cursor still in Mini.files windows, it giveAttempt to index a nil value error
bugNeovim version
0.10.1
Steps to reproduce
1 . Turn on mini.files command (:lua MiniFiles.open())
L
(default keybind) - Still normal<tab>
or using:bnext
command - Error happenedExpected behavior
Work normally
Actual behavior
Neovim give these error: