Skip to content

Commit fb9795e

Browse files
committed
fix(ui): fixed keymaps in debug view
1 parent 3049575 commit fb9795e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/lazy/view/render.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,6 @@ function M:debug()
682682

683683
Util.foreach(require("lazy.core.handler").handlers, function(handler_type, handler)
684684
Util.foreach(handler.active, function(value, plugins)
685-
assert(type(value) == "string")
686685
if not vim.tbl_isempty(plugins) then
687686
---@type string[]
688687
plugins = vim.tbl_values(plugins)
@@ -691,7 +690,7 @@ function M:debug()
691690
if handler_type == "keys" then
692691
for k, v in pairs(Config.plugins[plugins[1]]._.handlers.keys) do
693692
if k == value then
694-
value = v.name
693+
value = Keys.to_string(v)
695694
break
696695
end
697696
end

0 commit comments

Comments
 (0)