feat: config for ui border

This commit is contained in:
Folke Lemaitre 2022-11-30 23:13:08 +01:00
commit 0cff878b2e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 6 additions and 3 deletions

View file

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