rachartier / tiny-inline-diagnostic.nvim

A Neovim plugin that display prettier diagnostic messages. Display one line diagnostic messages where the cursor is, with icons and colors.
MIT License
164 stars 3 forks source link

Fix diagnostics readability on light backgrounds #13

Closed simoneee9 closed 1 week ago

simoneee9 commented 1 week ago

wanted to use this plugin but i'm using a light background, here's what i saw after i installed the plugin Screenshot from 2024-07-06 11-49-54

so although it can be fixed by setting hi = { mixing_color = "#ffffff" } i thought it would be neat if this could be set automatically when light background is enabled. when i looked into the source code, i found a bug too, in the if statement, there is default_hi.mixing_colors instead if default_hi.mixing_color

rachartier commented 1 week ago

Oops ! Nice catch. Thank you a lot !