akinsho / bufferline.nvim

A snazzy bufferline for Neovim
GNU General Public License v3.0
3.46k stars 195 forks source link

[Bug]: when cursor in toggleterm window, clicking bufferline tab cause text rendered inside toggleterm window #935

Closed erlangparasu closed 3 months ago

erlangparasu commented 3 months ago

Is there an existing issue for this?

What happened?

when cursor in toggleterm window, clicking bufferline tab cause text rendered inside toggleterm window

What did you expect to happen?

text rendered in buffer window, not inside toggleterm window

Config

lazyvim

"LazyVim": { "branch": "main", "commit": "00f53315b59fd35ef05ea74e66423944a2012974" },

Additional Information

...

commit

"bufferline.nvim": { "branch": "main", "commit": "81820cac7c85e51e4cf179f8a66d13dbf7b032d9" },

"toggleterm.nvim": { "branch": "main", "commit": "cd55bf6aab3f88c259fa29ea86bbdcb1a325687d" },

akinsho commented 3 months ago

This is unfortunately nowhere near enough information or and certainly not minimal enough if you are using lazyvim. You need to try to reproduce this bug with a minimal configuration to confirm it's definitely as a result of this plugin. I can confirm locally that I can't reproduce this by just tapping a buffer whilst in the terminal

erlangparasu commented 3 months ago

This is unfortunately nowhere near enough information or and certainly not minimal enough if you are using lazyvim. You need to try to reproduce this bug with a minimal configuration to confirm it's definitely as a result of this plugin. I can confirm locally that I can't reproduce this by just tapping a buffer whilst in the terminal

Here is my config: https://github.com/erlangparasu/dot-config-nvim/tree/e70268f543a931f0554a8d1320b60bac2af70904

erlangparasu commented 2 months ago

is bufferline have ability to check which window is targetted to render the clicked file?

erlangparasu commented 2 months ago

like excluding nvim-tree window, terminal window, neo-tree window, etc