Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jacobrreed opened this issue Apr 1, 2024 · 1 comment

Comments

@jacobrreed
Copy link

jacobrreed commented Apr 1, 2024

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

eldritch-theme/eldritch.nvim#4

@jacobrreed
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant