diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 0b4f115..9e0a128 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -86,7 +86,7 @@ M.defaults = { size = { width = 0.8, height = 0.8 }, wrap = true, -- wrap the lines in the ui -- The border to use for the UI window. Accepts same border values as |nvim_open_win()|. - border = "none", + border = nil, ---@type string|string[]|nil -- The backdrop opacity. 0 is fully opaque, 100 is fully transparent. backdrop = 60, title = nil, ---@type string only works when border is not "none" diff --git a/lua/lazy/view/float.lua b/lua/lazy/view/float.lua index 4131d72..60375c2 100644 --- a/lua/lazy/view/float.lua +++ b/lua/lazy/view/float.lua @@ -53,7 +53,7 @@ function M:init(opts) self.opts = vim.tbl_deep_extend("force", { size = Config.options.ui.size, style = "minimal", - border = Config.options.ui.border or "none", + border = Config.options.ui.border, backdrop = Config.options.ui.backdrop or 60, zindex = 50, }, opts or {})