mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Describe the issue with Cygwin Vim and Windows Git
parent
488bb71c5a
commit
d15ff8af1c
4
faq.md
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')
|
||||
|
Loading…
Reference in New Issue
Block a user