mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker.list): nil check
This commit is contained in:
parent
506659a001
commit
c22e46ab9a
1 changed files with 3 additions and 1 deletions
|
@ -608,7 +608,9 @@ function M:render()
|
|||
self.picker:show_preview()
|
||||
else
|
||||
vim.schedule(function()
|
||||
self.picker:show_preview()
|
||||
if self.picker then
|
||||
self.picker:show_preview()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue