You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We only display what vim.v.oldfiles returns. The root problem of this was just fixed in plenary. that paths sometimes weren't normalized correctly (fixed in nvim-lua/plenary.nvim@c54f77d). That means that oldfiles thinks C:\Users\asdf\Desktop\notes.norg and C:\Users\asdf\\Desktop\notes.norg are different files because of that \\.
I would close this because we just fixed it (at least on linux) i can't verify windows. So if you see this problem again, feel free to open a bug report over at plenary (because it has not really anything to do with duplicated path entries) :)
Note that oldfiles might still contain broken paths from before updating your plugins.
Description
There is duplication of entries when we are talking of paths, as seen in the screenshot below:
Neovim version
Operating system and version
Windows 11
checkhealth telescope
Steps to reproduce
\
the other having\\
.Expected behavior
No duplication of paths, every folder/file have a single entry
Actual behavior
Files and folders are sometimes duplicated due to having single or double forward slashes (as per screenshot in description)
Minimal config
The text was updated successfully, but these errors were encountered: