MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

Make ActivatedAddons throw no exception if it was called with an empty list of plugins to install #85

Closed cheater closed 12 years ago

cheater commented 12 years ago

This is the previous behavior. ZyX just added checking whether all requested plugins got installed, this is just an edge case that was overlooked.

MarcWeber commented 12 years ago

See commit comment at: https://github.com/cheater/vim-addon-manager/commit/5355ca31e85ae7d0c77c7eb98ecfef8fcb673098#commitcomment-1768456 (I should have written it here)

cheater commented 12 years ago

I have absolutely no idea, I just made sure the exception is not thrown if the first argument is an empty list, that's all. I didn't bother trying to find the absolute best way of doing things because VimL is esoteric enough that I can safely say I wouldn't be able to.

MarcWeber commented 12 years ago

I just committed the fix proposed by me. Thanks for your bug report.