Skip to content

Commit 26762c9

Browse files
committed
fix(ui): use correct keymap for display. Fixes #1089
1 parent 4b5b03f commit 26762c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/view/render.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ function M:reason(reason, opts)
331331
value = value:match("User (.*)") or value
332332
end
333333
if key == "keys" then
334-
value = type(value) == "string" and value or value.lhs
334+
value = type(value) == "string" and value or value.lhs or value[1]
335335
end
336336
local hl = "LazyReason" .. key:sub(1, 1):upper() .. key:sub(2)
337337
local icon = Config.options.ui.icons[key]

0 commit comments

Comments
 (0)