mirror of https://github.com/folke/lazy.nvim.git
fix(ui): use correct keymap for display. Fixes #1089
This commit is contained in:
parent
4b5b03f603
commit
26762c97e6
|
@ -331,7 +331,7 @@ function M:reason(reason, opts)
|
||||||
value = value:match("User (.*)") or value
|
value = value:match("User (.*)") or value
|
||||||
end
|
end
|
||||||
if key == "keys" then
|
if key == "keys" then
|
||||||
value = type(value) == "string" and value or value.lhs
|
value = type(value) == "string" and value or value.lhs or value[1]
|
||||||
end
|
end
|
||||||
local hl = "LazyReason" .. key:sub(1, 1):upper() .. key:sub(2)
|
local hl = "LazyReason" .. key:sub(1, 1):upper() .. key:sub(2)
|
||||||
local icon = Config.options.ui.icons[key]
|
local icon = Config.options.ui.icons[key]
|
||||||
|
|
Loading…
Reference in New Issue