bug: If one of your plugin entries doesn't exist lazy will freak out and lock up neovim #303
Closed
3 tasks done
Labels
bug
Something isn't working
Did you check docs and existing issues?
Neovim version (nvim -v)
0.8.2
Operating system/version
Endeavour OS
Describe the bug
if the plugins table includes a string that doesn't exist (e.g. a typo) then lazy will fail to clone it causing it to rapidly switch between the word "clone" in yellow and the "failed to clone, directory exists and is not empty" error.
To stop this you need to hit Ctrl-C a few times and then remove this entry, either before closing the broken instance or with
--clean
. Sometimes the floating window doesn't go away making this more difficult but still possible.Interestingly on mine it was trying to download the last plugin I deleted even though that was before the broken instance of the setup
Steps To Reproduce
Setup as normal
change or add an entry that doesn't match a plugin url (an empty string will do it)
save the file
restart neovim
Expected Behavior
A message along the lines of "this plugin doesn't exist, fix it you idiot"
Repro
The text was updated successfully, but these errors were encountered: