rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.03k stars 81 forks source link

NotifyBackground not respecting highlight group set by theme on startup but does after #264

Open jacobrreed opened 6 months ago

jacobrreed commented 6 months ago

So I am writing a custom theme and have NotifyBackground = {fg=x, bg=x} and when I first load my config i get the typical Notify message about a background_colour and NotifyBackground not being set on startup, the message that comes up and any subsequent message are respecting my highlight group.

Any reason why? My color scheme is loaded with priority=1000

Plugin first load call: image Calling notify after the error: image

My theme highlight set: (transparent_bg_float just sets a regular color if transparent plugin option is false and "none" otherwise) Worth noting that this color wont matter, no matter what I set here it will work, but notify will still warn about no bg color set image

https://github.com/eldritch-theme/eldritch.nvim/issues/4

jacobrreed commented 6 months ago

Another note, I can set the background_colour to white, and if i call notify, i can briefly (for like 1ms) see white as the background before my highlighting takes over

druskus20 commented 4 days ago

For me it doesnt seem to work at all. Maybe some other group (linked to Normal?) is taking precedence. That should not be the desired behaviour.

I am not setting the background_colour at all. I am manually setting the highlight group (from my theme / or from the command line)