-
-
Notifications
You must be signed in to change notification settings - Fork 853
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
Can't set keymap using table with action option #2111
Labels
bug
Something isn't working
Comments
I've briefly looked at the code and I think the docs are wrong. Does ["<esc>"] = { actions.close, kind = "action", opts = { silent = true, nowait = true } }, -- error when trying to press escape work as intended for you? |
This ["<esc>"] = { actions.close, type = "action", opts = { silent = true, nowait = true } }, -- error when trying to press escape works fine, thank you for the response. Should it be mentioned in the documentation? |
yes, do mind posting a PR that updates the documentation? should be updated here: telescope.nvim/lua/telescope/mappings.lua Line 83 in 8746347
|
6 tasks
Conni2461
pushed a commit
that referenced
this issue
Aug 13, 2022
Conni2461
pushed a commit
that referenced
this issue
Aug 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When customizing mapping using table with telescope action field the following error occurs:
Neovim version
Operating system and version
Gentoo Base System release 2.8 x86_64
Telescope version / branch / rev
latest using packer.nvim
checkhealth telescope
Steps to reproduce
:Telescope
<esc>
<esc>
againExpected behavior
Telescope window is closed
Actual behavior
Getting an error:
Minimal config
The text was updated successfully, but these errors were encountered: