fix(picker.files): ignore errors since it's not possible to know if the error isbecause of an incomplete pattern. Fixes #551

This commit is contained in:
Folke Lemaitre 2025-01-16 22:31:32 +01:00
parent 0cbdf3f5d8
commit 4823f2da65
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -90,6 +90,7 @@ function M.files(opts, filter)
return require("snacks.picker.source.proc").proc(vim.tbl_deep_extend("force", {
cmd = cmd,
args = args,
notify = false,
---@param item snacks.picker.finder.Item
transform = function(item)
item.cwd = cwd