fix(picker.zoxide): directory icon (#1031)

## Description

Fix the icon for `Snacks.picker.zoxide()`.

## Related Issue(s)

None.

## Screenshots

Before:

<img width="1168" alt="image"
src="https://github.com/user-attachments/assets/1c0fd481-eaa7-4bcd-8a1c-a45df35c512e"
/>

After:

<img width="1168" alt="image"
src="https://github.com/user-attachments/assets/b67d135d-350b-462b-b630-7801063295ac"
/>
This commit is contained in:
qw457812 2025-02-09 22:46:56 +08:00 committed by GitHub
parent 63c3522831
commit 33dbebb753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,6 +172,7 @@ function M.zoxide(opts, ctx)
---@param item snacks.picker.finder.Item
transform = function(item)
item.file = item.text
item.dir = true
end,
},
}, ctx)