mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
fix(actions): which_key after mappings rework (#2556)
(cherry picked from commit 42267407ae)
This commit is contained in:
@@ -827,7 +827,7 @@ end
|
||||
function make_entry.gen_from_keymaps(opts)
|
||||
local function get_desc(entry)
|
||||
if entry.callback and not entry.desc then
|
||||
return require("telescope.actions.utils")._get_anon_function_name(entry.callback)
|
||||
return require("telescope.actions.utils")._get_anon_function_name(debug.getinfo(entry.callback))
|
||||
end
|
||||
return vim.F.if_nil(entry.desc, entry.rhs)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user