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

Warned about termguicolors even though using static stages #212

Open
GideonWolfe opened this issue Jul 17, 2023 · 3 comments
Open

Warned about termguicolors even though using static stages #212

GideonWolfe opened this issue Jul 17, 2023 · 3 comments

Comments

@GideonWolfe
Copy link

To my understanding, I should be able to leave termguicolors disabled as long as I'm not using any fancy fading animations. termguicolors screws with my colorschemes, it's another issue I need to work out.

Anyways, I took a look at the code, and it would seem like this line is checking to see if any of the fade stages are applied, and setting needs_opacity to true if so.

I'm a bit confused, because my config looks like this

require("notify").setup({
    -- background_colour = "NotifyBackground",
    -- fps = 30,
    icons = {
        DEBUG = "",
        ERROR = "",
        INFO = "",
        TRACE = "",
        WARN = ""
    },
    level = 2,
    minimum_width = 50,
    render = "default",
    stages = "static",
    timeout = 5000,
    top_down = true

})

I commented/changed anything I can think of that would be triggering the warning, but I can't think of anything.

Additionally, Every time I open a file, I'm seeing a smaller window pop up which is soon overwritten by the larger window with the termguicolors warning. Too quick to even read.

image

@GideonWolfe
Copy link
Author

At this point I've just started creating my own colorscheme with termguicolors enabled. Even though the setting is on, I'm still getting warnings about disabling it.

@StoneRen
Copy link

me too

@rcarriga
Copy link
Owner

Is termguicolors set before you're calling notify.setup?

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

3 participants