fix(picker.list): nil check

This commit is contained in:
Folke Lemaitre 2025-02-04 17:42:09 +01:00
parent 506659a001
commit c22e46ab9a
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -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