Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No descriptions for shortcut keys in telescope help menu #22

Open
phantomwhale opened this issue Apr 11, 2023 · 1 comment
Open

No descriptions for shortcut keys in telescope help menu #22

phantomwhale opened this issue Apr 11, 2023 · 1 comment

Comments

@phantomwhale
Copy link

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.

@phantomwhale
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant