Describe the issue with Cygwin Vim and Windows Git

Jan Edmund Lazo 2019-11-23 19:35:33 -05:00
parent 488bb71c5a
commit d15ff8af1c

4
faq.md

@ -217,7 +217,11 @@ REG QUERY "HKLM\Software\Microsoft\Command Processor" /v AutoRun
### Filepath issues with Cygwin/MinGW Vim and Windows Git
Windows Git must be upgraded to support mixed paths (ie. `C:/Users/foo/.vim/plugged`).
Modify your vimrc to use `g:plug_home` instead of passing a filepath to `plug#begin` so that vim-plug does not convert it back to Unix paths (ie. `/home/foo/.vim/plugged`) and break when passing filepaths to Windows Git.
```vim
let g:plug_home = '~/.vim/plugged'
if has('win32unix')
\ && executable('cygpath')
\ && executable('git')