mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-03 10:22:43 +00:00
fix(picker): starting a picker from the picker sometimes didnt start in insert mode. Fixes #718
This commit is contained in:
parent
7dcf9ffed4
commit
08d4f14cd8
1 changed files with 3 additions and 1 deletions
|
@ -508,7 +508,9 @@ M.pickers = {
|
|||
confirm = function(picker, item)
|
||||
picker:close()
|
||||
if item then
|
||||
Snacks.picker(item.text)
|
||||
vim.schedule(function()
|
||||
Snacks.picker(item.text)
|
||||
end)
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue