mvllow / modes.nvim

Prismatic line decorations for the adventurous vim user
550 stars 13 forks source link

This plugins breaks "Styler" plugin #62

Open uwla opened 2 weeks ago

uwla commented 2 weeks ago

This plugins resets highlight when switching between windows, and that breaks Styler plugin https://github.com/folke/styler.nvim

CURSORMODE

Styler allows setting a colorscheme per filetype and even per buffer. It does so by making use of vim.api.nvim_set_hl, but modes resets that...

Could you make this plugin work with Styler ?

mvllow commented 2 weeks ago

Hmm I'm not sure about resetting, but styler mentioned to use vim.api.nvim_set_hl which the current main branch does not. You could try our canary branch which I believe uses that exclusively but there are other bugs with that branch. Could at least narrow down the problem, though.

uwla commented 2 weeks ago

Ok, I'll try it out