rcarriga / nvim-notify

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

Warned about termguicolors even though using static stages #212

Open GideonWolfe opened 1 year ago

GideonWolfe commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

me too

rcarriga commented 1 year ago

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