nvim-hardline
nvim-hardline copied to clipboard
Empty buffers are not removed from hardline
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
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.