Skip to content

Commit

Permalink
fix(ui): fixed keymaps in debug view
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 16, 2023
1 parent 3049575 commit fb9795e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/lazy/view/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,6 @@ function M:debug()

Util.foreach(require("lazy.core.handler").handlers, function(handler_type, handler)
Util.foreach(handler.active, function(value, plugins)
assert(type(value) == "string")
if not vim.tbl_isempty(plugins) then
---@type string[]
plugins = vim.tbl_values(plugins)
Expand All @@ -691,7 +690,7 @@ function M:debug()
if handler_type == "keys" then
for k, v in pairs(Config.plugins[plugins[1]]._.handlers.keys) do
if k == value then
value = v.name
value = Keys.to_string(v)
break
end
end
Expand Down

0 comments on commit fb9795e

Please sign in to comment.