mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 11:18:26 +00:00
fix(picker.preview): update main preview when changing the layout
This commit is contained in:
parent
a2c965b163
commit
604c603dfa
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ end
|
|||
function M:refresh(picker)
|
||||
self.item = nil
|
||||
self:reset()
|
||||
if self.main then
|
||||
self.win:update()
|
||||
end
|
||||
vim.schedule(function()
|
||||
self:show(picker)
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue