nvim-hardline icon indicating copy to clipboard operation
nvim-hardline copied to clipboard

Empty buffers are not removed from hardline

Open DonPiotr opened this issue 10 months ago • 1 comments

Hi,

nice plugin. I found that empty buffer if not active is not removed when deleted:

# nvim .config/nvim/init.lua
:enew
:b 1
:buffers
:bd 2

This way empty buffer is removed from :buffers , but is still on hardline.

Thanks

DonPiotr avatar Feb 26 '25 19:02 DonPiotr

I've been able to reproduce the issue. There's not much I can do to fix this: it is Neovim that decides when to redraw the tabline. Usually the tabline is quickly updated after a few actions from the user (moving around etc.), but you can also force a redraw with :redrawtabline.

ojroques avatar Feb 28 '25 13:02 ojroques