scottmckendry / cyberdream.nvim

🤖💤 High-contrast, Futuristic & Vibrant Coloursheme for Neovim
MIT License
732 stars 30 forks source link

notify.nvim throwing warning when enabling cyberdream #22

Closed idelice closed 6 months ago

idelice commented 6 months ago

After installing cyberdream to my LazyDistro:

return {
    "scottmckendry/cyberdream.nvim",
    lazy = false,
    priority = 1000,
    config = function()
        require("cyberdream").setup({
            -- Recommended - see "Configuring" below for more config options
            transparent = true,
            italic_comments = true,
            hide_fillchars = true,
            borderless_telescope = true,
            terminal_colors = true,
        })
        vim.cmd("colorscheme cyberdream") -- set the colorscheme
    end,
}

I get this warning everything I open up nvim:

   Warn  22:17:46 notify.warn nvim-notify Highlight group 'NotifyBackground' has no background highlight
Please provide an RGB hex value or highlight group with a background value for 'background_colour' option.
This is the colour that will be used for 100% transparency.

require("notify").setup({
  background_colour = "#000000",
})

Defaulting to #000000
scottmckendry commented 6 months ago

Thanks for raising! I never actually noticed this issue the whole time I've been working on the colorsheme. Mainly since I've had that block of code in my notify config the entire time.

Nonetheless, it's reminded me to finally get around to adding my own highlights for nvim-notify. I think it turned out quite clean!

idelice commented 6 months ago

Love it. Thank you