RaafatTurki / corn.nvim

LSP diagnostics at your corner
104 stars 7 forks source link

feature enhancement: render corn on mode change event #8

Closed bassamsdata closed 5 months ago

bassamsdata commented 5 months ago

Expressing gratitude for the recent addition of the blacklisted_modes feature. This PR suggests a minor change to enable toggling Corn when the mode changes spontaneously. Currently, it requires changing the mode and then moving the cursor to toggle off. In my setup, I used to achieve this before the feature (to reduce clutter when writing in insert mode, of course :) ) by relying on the ModeChanged event.

Thank you

RaafatTurki commented 5 months ago

thanks! yes adding ModeChanged to the autocmds makes a lot of sense now.