This commit is contained in:
Jon Huhn 2025-11-04 14:12:51 -08:00 committed by GitHub
commit 4e12335afe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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 {})