romgrk / barbar.nvim

The neovim tabline plugin.
2.26k stars 85 forks source link

fix(bbye): fix switch window failure #579

Closed linrongbin16 closed 4 months ago

linrongbin16 commented 4 months ago

Sometimes I met such error when use BufferClose to delete current buffer:

image

I add a win_is_valid check before calling set_current_win API.