Skip to content

Commit ebcdd82

Browse files
authored
fix: only warn for termguicolors if version minor < 10 (#239)
1 parent 27a6649 commit ebcdd82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/notify/config/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function Config.setup(custom_config)
183183
local needs_opacity =
184184
vim.tbl_contains({ BUILTIN_STAGES.FADE_IN_SLIDE_OUT, BUILTIN_STAGES.FADE }, stages)
185185

186-
if needs_opacity and not vim.opt.termguicolors:get() then
186+
if needs_opacity and not vim.opt.termguicolors:get() and vim.version().minor < 10 then
187187
user_config.stages = BUILTIN_STAGES.STATIC
188188
vim.schedule(function()
189189
vim.notify(

0 commit comments

Comments
 (0)