alvarosevilla95 / luatab.nvim

Tabline lua plugin for neovim
MIT License
186 stars 20 forks source link

Exclude popup windows from window count #18

Closed TimotheeDesveaux closed 1 year ago

TimotheeDesveaux commented 1 year ago

Having the window count constantly changing because of cmp completion menu, notification, telescope, etc. is annoying. By filtering popup windows, the count only change when opening or creating another file in a new window.

Maybe there are counterexample where you would want to keep the popup window in the count, but it seems to work well for me. This could also be easily parametrized via an option in the setup function.

You could also filter on buftype or filetype to gain even more control.