folke / noice.nvim

💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
Apache License 2.0
4.29k stars 100 forks source link

bug: `notify` dependency error #924

Closed alicorn0618 closed 2 months ago

alicorn0618 commented 2 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1720049189

Operating system/version

Darwin U-66MWY1J0-0106.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030 arm64

Describe the bug

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

Steps To Reproduce

A error report if follows README's way to install with lazynvim

Expected Behavior

No such report

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})
folke commented 2 months ago

How is this a Noice/LazyVim issue?