jvgrootveld/telescope-zoxide

No descriptions for shortcut keys in telescope help menu

phantomwhale opened this issue · 4 comments

Not sure how feasible this is (or if it's a bug with just my setup) but the default help menu (e.g. the menu invoked with <C-?> when inside the telescope modal) has the description anonymous for the 6 custom shortcut options in the zoxide picker. Screenshot shown below:

image

Is it possible to update the default zoxide picker configuration to provide values for this help menu? Not sure if Telescope allows this level of detail in the configuration, but in TJ I trust so hopefully it's possible.

At a casual eyeball, I'm guessing these values are just LUA table keys (e.g. within telescope default actions: https://github.com/nvim-telescope/telescope.nvim/blob/6258d50b09f9ae087317e392efe7c05a7323492d/lua/telescope/mappings.lua#L159)

Whereas this plugin uses inline "anonymous" tables, which telescope simply renders as anonymous (e.g. https://github.com/nvim-telescope/telescope.nvim/blob/6258d50b09f9ae087317e392efe7c05a7323492d/lua/telescope/mappings.lua#L159)

I might just have enough basic Lua in me to cobble together a PR, if that would help? Might be a while coming though, in all honesty! Otherwise hopefully that's enough of a steer (and hopefully a correct steer too, of course !!!!) to get someone started on the problem a little bit faster.