mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-06 11:48:23 +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)
|
confirm = function(picker, item)
|
||||||
picker:close()
|
picker:close()
|
||||||
if item then
|
if item then
|
||||||
|
vim.schedule(function()
|
||||||
Snacks.picker(item.text)
|
Snacks.picker(item.text)
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue