This commit is contained in:
Simon McLean 2025-03-02 12:17:08 +02:00 committed by GitHub
commit 2e641ba12d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,7 @@ local ViewConfig = require("lazy.view.config")
---@field ft? string
---@field noautocmd? boolean
---@field backdrop? float
---@field winblend? number
---@class LazyFloat
---@field buf number
@ -55,6 +56,7 @@ function M:init(opts)
style = "minimal",
border = Config.options.ui.border or "none",
backdrop = Config.options.ui.backdrop or 60,
winblend = Config.options.ui.winblend or 0,
zindex = 50,
}, opts or {})
@ -184,6 +186,7 @@ function M:mount()
Util.wo(self.win, "wrap", true)
Util.wo(self.win, "winhighlight", "Normal:LazyNormal")
Util.wo(self.win, "colorcolumn", "")
Util.wo(self.win, "winblend", self.opts.winblend)
end
opts()