mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-15 17:15:13 +00:00
fix(picker.recent): expand to full path before normalizing. Closes #1406
This commit is contained in:
parent
6442985c65
commit
cf47fa7cee
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ local function oldfiles(filter, extra)
|
|||
for f = i + 1, #files do
|
||||
i = f
|
||||
local file = files[f]
|
||||
file = vim.fn.fnamemodify(file, ":p")
|
||||
file = svim.fs.normalize(file, { _fast = true, expand_env = false })
|
||||
local want = not done[file] and filter:match({ file = file, text = "" })
|
||||
done[file] = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue