Closed adamyakes closed 4 weeks ago
See my previous answer on that matter: https://github.com/junegunn/vim-plug/issues/465
$ git clone https://github.com/neoclide/coc.vim Cloning into 'coc.vim'... remote: Repository not found. fatal: repository 'https://github.com/neoclide/coc.vim/' not found
Interesting. I'm prompted for authentication information when I do it.
$ git clone https://github.com/neoclide/coc.vim
Cloning into 'coc.vim'...
Username for 'https://github.com': ^C
Unless I set GIT_TERMINAL_PROMPT
to 0. It's what vim-plug does to avoid the prompt.
$ GIT_TERMINAL_PROMPT=0 git clone https://github.com/neoclide/coc.vim
Cloning into 'coc.vim'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
$
I recently mistyped the name of a repo/plugin, and when I ran
:PlugInstall
, I ran into the same cryptic error described in this Stack Overflow issue.Here's my
init.lua
:Note, it's supposed to be
neoclide/coc.nvim
. What's confusing to me is that if I run a regulargit clone
on with that URL, I get a much more helpful error message:Whatever
vim-plug
does to fetch that repository is producing this different error message. It would be great ifvim-plug
would either produce the default repository not found error, or otherwise detect the scenario of a plugin not found and report as such.