diff --git a/faq.md b/faq.md index a7c4528..caabd91 100644 --- a/faq.md +++ b/faq.md @@ -191,4 +191,24 @@ To see if your system suffers this second problem, run these reg queries. If eit ```batch REG QUERY "HKCU\Software\Microsoft\Command Processor" /v AutoRun REG QUERY "HKLM\Software\Microsoft\Command Processor" /v AutoRun -``` \ No newline at end of file +``` + +### fatal: dumb http transport does not support --depth + +Apparently the git option `--depth 1` requires SSL on the remote Git server. It is now default, to reduce download size. To get around this, you can: + +**Disable Shallow Cloning** + +Add `let g:plug_shallow = 0` before the `plug#end` call. + +**Mirror the repository on a Git server with https (i.e. Github or BitBucket).** + +Then just add it normally with the new URI. + +**Mark the plugin as local/unmanaged** + +a) Clone it locally to `~/.vim/plugged/plugin_name` + +b) Add to the vimrc with `Plug '~/.vim/plugged/plugin_name'`. + +The leading tilda tells vim-plug not to do anything other than rtp for plugin_name. \ No newline at end of file