nvim-notify icon indicating copy to clipboard operation
nvim-notify copied to clipboard

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

Open neonvoidx opened this issue 1 year ago • 2 comments

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

neonvoidx avatar Apr 01 '24 19:04 neonvoidx

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

neonvoidx avatar Apr 01 '24 19:04 neonvoidx

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)

druskus20 avatar Sep 30 '24 13:09 druskus20