Hello, I‘m trying to install plugs from local package because my linux server can’t access Github.
I download vim-easy-align package from github and try two ways in #701 ,and the error shows below:
call plug#begin('~/.vim/plugged')
Plug 'file://'.expand('~/.vim/plugged/vim-easy-align')
"fatal: destination path '~/.vim/plugged/vim-easy-align' already exists and is not an empty directory.
Plug 'file://'.expand('~/otherdir/vim-easy-align')
"fatal :'~/otherdir/my_plug' does not appear to be a git repository
call plug#end()
In your use case, remove file:// prefix so that vim-plug loads the plugin directly from the directory. :PlugInstall is not needed.
Plug '~/otherdir/vim-easy-align'
In your use case, remove
file://prefix so that vim-plug loads the plugin directly from the directory.:PlugInstallis not needed.Plug '~/otherdir/vim-easy-align'
Thank you!
I solved it.
Most helpful comment
In your use case, remove
file://prefix so that vim-plug loads the plugin directly from the directory.:PlugInstallis not needed.