We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd00a0a commit 550055eCopy full SHA for 550055e
1 file changed
lua/telescope/actions/init.lua
@@ -1409,7 +1409,8 @@ actions.which_key = function(prompt_bufnr, opts)
1409
-- only set up autocommand after showing preview completed
1410
if opts.close_with_action then
1411
vim.schedule(function()
1412
- vim.api.nvim_create_autocmd("User TelescopeKeymap", {
+ vim.api.nvim_create_autocmd("User", {
1413
+ pattern = "TelescopeKeymap",
1414
once = true,
1415
callback = function()
1416
pcall(vim.api.nvim_win_close, km_win_id, true)
0 commit comments