mvllow / modes.nvim

Prismatic line decorations for the adventurous vim user
574 stars 14 forks source link

Disable cursor color in insert mode #11

Closed danymat closed 2 years ago

danymat commented 2 years ago

Hello !

I tried this plugin and it works well !

However, I would love the option to disable the custom cursor color in insert mode:

Capture d’écran 2022-02-14 à 18 01 48

I find it a little bit distracting.. Or maybe providing some options to customize it ?

mvllow commented 2 years ago

it looks like setting insert = 'NONE' disables setting the cursor (but the line is still themed). this wasn't really intended behaviour but that may help in the short term 😌

i'd like to add options to highlight only cursorline or only cursor as well

danymat commented 2 years ago

it looks like setting insert = 'NONE' disables setting the cursor (but the line is still themed). this wasn't really intended behaviour but that may help in the short term

I'm not sure this is the optimal thing to do, because imagine a colorscheme does provide a hl for the cursor. Doing this would override the highlight and delete it