Open sho-87 opened 1 year ago
mru read from v:oldfiles
. echo v:oldfiles
it should give same result. i don't use windows . why the file has different path sep ?
I just opened 10 files using different plugins, like telescope, neo-tree etc and the MRU list all uses \
path sep, which is correct:
But when I use the dashboard hotkeys (1-9) to open one of those files, it changes the path sep to /
, and it then shows up as a duplicate in MRU:
So I think dashboard is setting the windows path sep to /
when opening a file, when all other plugins are setting it to \
dashboard do nothing it just read v:oldfiles
and open. i don't use windows. if anyone want fix this pr welcome.
this is acually related to this issue in telescope on windows telescope/#1683
i'm having this issue too...
i think it's a problem with window's nvim here's the github issue that i found on nvim
https://github.com/neovim/neovim/issues/25033
btw if you already found a solution, please let me know..
The recent files list shows duplicates of files on Windows because some plugins use
/
and others use\
as the path separator when opening the files.Is there a way for dashboard to just standardize the windows paths and use the same separator, so the list isn't filled with duplicates?