romgrk / barbar.nvim

The neovim tabline plugin.
2.16k stars 81 forks source link

fix: add check to ensure that buffer is loaded #587

Closed ravibrock closed 1 month ago

ravibrock commented 1 month ago

This should resolve #583. The DiagnosticChanged event was firing when closing buffers, causing Barbar to try to render a nonexistent buffer. I just added an if statement to account for this; it seems to work in my testing now.