kristijanhusak / vim-packager

Vim plugin manager that utilizes "jobs" and "pack" features.
MIT License
245 stars 9 forks source link

Crash on :PackagerUpdate #19

Closed greg0ire closed 4 years ago

greg0ire commented 4 years ago

When I run :PackagerUpdate, I get this

Error detected while processing function packager#update[2]..284[19]..308[2]..305[18]..313:
line   13:
E730: using List as a String
E116: Invalid arguments for function get(split(l:ref, '/') -1, '')
Error detected while processing function packager#update[2]..284[19]..308:
line    2:
E714: List required

Also, the plugin window does not show many plugins, and shows an error:

Installing plugins 4 / 33
[======--------------------------------------------]

✗ eunuch — Error (exit status 2) - -abefhkmnptuvxBCHP or -o option
✓ snippets — Already up to date.
✓ matchup — Already up to date.
✓ nvim-yarp — Already up to date.

Here is my vimrc: https://github.com/greg0ire/dotvim/blob/master/vimrc

kristijanhusak commented 4 years ago

I had missing comma in one function call. Go to vim-packager folder (in your case ~/.vim/pack/greg0ire/opt/vim-packager), do a git pull, and then try an update again.

greg0ire commented 4 years ago

Works better, thanks!