mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker.explorer): fix cwd for items
This commit is contained in:
parent
9eecf4ed85
commit
71070b78f0
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ function M.explorer(opts, ctx)
|
|||
|
||||
files(function(item)
|
||||
---@cast item snacks.picker.explorer.Item
|
||||
item.cwd = nil -- we use absolute paths
|
||||
|
||||
-- Directories
|
||||
if item.file:sub(-1) == "/" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue