Closed lilx2018 closed 1 year ago
I run :echo v:oldfiles, it give me result ['G:\workspace\neovim\build\g:\nvim-win64\share\nvim\runtime\doc\options.txt', ... , 'C:\Users\Administrator\AppData\Local[packer]'], the first item is not true so it can't be open.
Maybe this is a bug of neovim, and maybe fzf.vim can deal with by some special handling.
Yet I think the best way is to fix Neovim to avoid this issue, and to do a special handling is not the "right way" of doing things, so I decide to close this issue.
man fzf
)When I use :History command to open a file with lowercase letter drive on its path, neovim open with empty content, maybe when try to open, neovim use a mistake filename as curruentdir + fullpath filename like "C:\currentdir\c:\anotherdir\foo.txt", but when I use command :echo expand('%'), it give me the right filename c:\anotherdir\foo.txt.
Here is a image maybe can help:![image](https://user-images.githubusercontent.com/95909877/185623260-0b84774b-5dc0-48aa-9f1a-5d2d8c124ec2.png)