rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.09k stars 83 forks source link

highlights.lua:59: bad argument #4 to 'blend' (value expected) #44

Closed HaleTom closed 2 years ago

HaleTom commented 2 years ago

In my .vimrc I have:

lua require("notify")("My super important message")

Upon load, I see the message:

``Error running notification service: ...che/vimrc/.dein/lua/notify/service/buffer/highlights.lua:59: bad argument #4 to 'blend' (value expected)```
rcarriga commented 2 years ago

What's the output of :hi Normal?

MikeOlsen commented 2 years ago

Same error for me: Normal xxx ctermfg=223 ctermbg=235 guifg=#ebdbb2 guibg=#282828

rcarriga commented 2 years ago

Do you have termguicolors set? (:echo &termguicolors should print 1)

MikeOlsen commented 2 years ago

Apparently not, it works now that I have enabled it. Thanks!

rcarriga commented 2 years ago

I'm going to assume @HaleTom you were having the same issue and will close this. If setting termguicolors does not work, please feel free to re-open