Skip to content

fix(actions): set function name for generate.which_key#3044

Merged
jamestrew merged 1 commit into
nvim-telescope:masterfrom
jamestrew:fix/generate-whichkey-desc
Apr 10, 2024
Merged

fix(actions): set function name for generate.which_key#3044
jamestrew merged 1 commit into
nvim-telescope:masterfrom
jamestrew:fix/generate-whichkey-desc

Conversation

@jamestrew

Copy link
Copy Markdown
Contributor

Using anonymous function is throwing warning "No name available for anonymous functions" when action_generate.which_key is used as shown in the docs.

closes #3033

Using anonymous function is throwing warning "No name available for
anonymous functions" when `action_generate.which_key` is used as shown
in the docs.
@jamestrew jamestrew added the backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat) label Apr 10, 2024
@jamestrew
jamestrew merged commit 5a701e9 into nvim-telescope:master Apr 10, 2024
@jamestrew
jamestrew deleted the fix/generate-whichkey-desc branch April 10, 2024 01:31
Conni2461 pushed a commit that referenced this pull request May 20, 2024
Using anonymous function is throwing warning "No name available for
anonymous functions" when `action_generate.which_key` is used as shown
in the docs.

(cherry picked from commit 5a701e9)
neutrie added a commit to neutrie/pinbuff.nvim that referenced this pull request Apr 9, 2025
This resolves warning about <anonymous> functions from telescope when
setting keymaps as in example from README.
See example nvim-telescope/telescope.nvim#3044
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning when setting a which_key option: "No name available for anonymous functions"

1 participant