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

Warned about termguicolors even though using static stages

Open GideonWolfe opened this issue 2 years ago • 3 comments

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 avatar Jul 17 '23 06:07 GideonWolfe

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.

GideonWolfe avatar Jul 17 '23 22:07 GideonWolfe

me too

StoneRen avatar Jul 25 '23 06:07 StoneRen

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

rcarriga avatar Sep 10 '23 11:09 rcarriga