fix(explorer): dont focus first file when not searching

This commit is contained in:
Folke Lemaitre 2025-02-04 20:23:41 +01:00
parent cb99c46fa1
commit 3fd437ccd3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -164,6 +164,9 @@ function M.setup(opts)
end
end,
on_done = function()
if not searching then
return
end
local picker = ref.value
if not picker or picker.closed then
return