mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: config for ui border
This commit is contained in:
parent
fb96183753
commit
0cff878b2e
3 changed files with 6 additions and 3 deletions
|
@ -53,6 +53,7 @@ function M.show(mode)
|
|||
local opts = {
|
||||
relative = "editor",
|
||||
style = "minimal",
|
||||
border = Config.options.ui.border,
|
||||
width = math.min(vim.o.columns - hpad * 2, 200),
|
||||
height = math.min(vim.o.lines - vpad * 2, 70),
|
||||
}
|
||||
|
|
|
@ -237,7 +237,7 @@ function M:reason(reason, opts)
|
|||
value = value:match("User (.*)") or value
|
||||
end
|
||||
local hl = "LazyLoader" .. key:sub(1, 1):upper() .. key:sub(2)
|
||||
local icon = Config.options.view.icons[key]
|
||||
local icon = Config.options.ui.icons[key]
|
||||
if icon then
|
||||
self:append(icon .. " ", hl)
|
||||
self:append(value, hl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue