fix(ui): use correct keymap for display. Fixes #1089

This commit is contained in:
Folke Lemaitre 2023-10-08 12:36:21 +02:00
parent 4b5b03f603
commit 26762c97e6
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ function M:reason(reason, opts)
value = value:match("User (.*)") or value
end
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
local hl = "LazyReason" .. key:sub(1, 1):upper() .. key:sub(2)
local icon = Config.options.ui.icons[key]