mawkler / modicator.nvim

Cursor line number mode indicator plugin for Neovim
MIT License
298 stars 6 forks source link

Modicator doesn’t correctly update number highlight after opening file with Telescope #17

Open ddbrierton opened 1 year ago

ddbrierton commented 1 year ago

Hi again,

I just noticed a small issue. Say I’m in buffer x, and I use Telescope to open buffer y. When Telescope is open I’m in insert mode, and modicator changes the line number highlight in buffer x to the insert mode colour. Once I open buffer y from Telescope, it opens in normal mode but modicator does not change the line number colour, it stays in the insert mode highlight. Quickly pressing i followed by <esc> resets things to how they should be. Here is a video:

https://github.com/mawkler/modicator.nvim/assets/7255543/06d6dfe1-b2c5-4dd4-ab23-ca031d925505

mawkler commented 1 year ago

@ddbrierton Thanks for reporting this! It looks like an issue with Telescope. I've created an issue here: https://github.com/nvim-telescope/telescope.nvim/issues/2636