romgrk / barbar.nvim

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

fix: schedule render update to avoid barbar causing telescope to open files in insert mode #540

Closed gbprod closed 10 months ago

gbprod commented 10 months ago

When using telescope with Barbar, it always open files in insert mode, that's pretty annoying. Lookiing at those issues nvim-telescope/telescope.nvim#2766, nvim-telescope/telescope.nvim#2785, this fix will correct this behavior.

Ref: taketwo@d571ecd, nvim-telescope/telescope.nvim#2766, nvim-telescope/telescope.nvim#2785

Iron-E commented 10 months ago

Thank you again!

jamestrew commented 8 months ago

I was able to replicate this issue with just neovim so I created an issue upstream and got it fixed https://github.com/neovim/neovim/pull/27051

Scheduling should no longer be necessary. Just an FYI.

Iron-E commented 8 months ago

Scheduling should no longer be necessary. Just an FYI.

Thanks for letting us know; we'll keep that in mind for when the minimum version is raised accordingly.