Open WizardStark opened 7 months ago
dressing needs to do something when the telescope picker is closed for any reason. I really tried to find a way to achieve that with telescope, and just couldn't. I have now opened them a PR to add the feature (I guess worst-case they'll say how to achieve that otherwise): https://github.com/nvim-telescope/telescope.nvim/pull/3182
With this in telescope, I confirmed that putting this in the telescope.lua file in dressing at line ~96 fixes the issue:
vim.api.nvim_create_autocmd("User", {
pattern = "TelescopePickerClose",
callback = function(args)
on_choice(nil, nil)
end,
once = true,
})
I'll followup here when the telescope part of the issue is resolved one way or another.
Describe the bug Opening a vim.ui.select window using the telescope backend and then clicking outside the popup breaks all subsequent vim.ui.select calls.
See https://github.com/mrjones2014/legendary.nvim/issues/447 for original discovery of this issue and additional context
System information
Neovim version:
Run :checkhealth for more info
vim.ui.select
backend? If so, which one?To Reproduce Steps to reproduce the behavior:
<space>a
for convenience<space>a
again, or call vim.ui.selectIf possible, provide a minimal file that will trigger the issue (see tests/manual for examples of short ways to call
vim.ui.*
):Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.