mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-07 08:16:35 +00:00
fix(ui): fixed keymaps in debug view
This commit is contained in:
parent
3049575bd8
commit
fb9795e49f
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue