-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
ref #164
This is because vim.uv.os_homedir() returns C:\Users\foo, but the exact home directory ($HOME) in Cygwin is C:\cygwin64\home\foo.
procedure to fail opening files
:cd C:\Windows(outside of the home directory):Telescope frecencyand try to openC:\Users\foo\AppData\Local\Nvim\init.lua- Internally, it makes the path be normalized:
~\AppData\Local\Nvim\init.lua. - Then Neovim tries to open
~\AppData\Local\Nvim\init.lua, and then fails. This is because~is notC:\Users\foobut\home\fooin Cygwin.
procedure to open files successfully
:cd C:\Users\foo(home directory):Telescope frecencyand try to openC:\Users\foo\AppData\Local\Nvim\init.lua- Internally, it makes the path to relative one:
AppData\Local\Nvim\init.lua. - Neovim successfully opens the file.
Metadata
Metadata
Assignees
Labels
No labels