mawkler / modicator.nvim

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

Doesn't work properly with Dracula theme #6

Closed lucasquin closed 1 year ago

lucasquin commented 1 year ago

Using packer with dracula theme: image

Modicator: image

Colors and modes do not match: image

I've tried manually setting the colors, but also without success.

mawkler commented 1 year ago

I've tried manually setting the colors, but also without success

You need to set the colors manually since there are no general highlight groups for the different modes. Can you show the configuration that you tried that didn't work for you?

lucasquin commented 1 year ago

When I start it, it doesn't change color in the normal way, it's always blank.

image

lucasquin commented 1 year ago

Well, I managed to put the desired colors, but it doesn't work for v-block mode.

image

Visual mode: image

lucasquin commented 1 year ago

The v-block issue was resolved by copying the character directly from the documentation .MD file. image

The only striking thing for me is that when entering it doesn't change the color, only when I enter some other mode.

mawkler commented 1 year ago

Nice that you got the other modes to work. That's odd. Entering visual block mode should change the color immediately.

lucasquin commented 1 year ago

All solved, thanks for this awesome plugin! Good for those who are also having problems, copy the character of the v-block mode directly from the .MD file and in relation to the colors, for those who use lualine, you can take the colors that lualine offers. Thanks!