mirror of https://github.com/folke/lazy.nvim.git
fix(ui): only enable backdrop when guicolors is set. Fixes #1387
This commit is contained in:
parent
68941b7b13
commit
d37a76b871
|
@ -118,7 +118,7 @@ function M:mount()
|
|||
self.buf = vim.api.nvim_create_buf(false, true)
|
||||
end
|
||||
|
||||
if self.opts.backdrop and self.opts.backdrop < 100 then
|
||||
if self.opts.backdrop and self.opts.backdrop < 100 and vim.o.termguicolors then
|
||||
self.backdrop_buf = vim.api.nvim_create_buf(false, true)
|
||||
self.backdrop_win = vim.api.nvim_open_win(self.backdrop_buf, false, {
|
||||
relative = "editor",
|
||||
|
|
Loading…
Reference in New Issue