nvim-neorocks / rocks-config.nvim

Allow rocks.nvim to help configure your plugins.
GNU General Public License v3.0
55 stars 2 forks source link

fix(bundles): handle load failures gracefully #58

Closed mrcjkb closed 1 month ago

mrcjkb commented 1 month ago

If a bundle fails to load (e.g. because a rock is not yet installed), rocks-config will panic. This in turn can prevent rocks.nvim extensions from being loaded (like rocks-git.nvim), thus preventing the bundle from being installable - a vicious cycle.

This PR changes the logic of loading bundles to be in line with the logic of loading individual plugin configs:

mrcjkb commented 1 month ago

Merging as this is covered by tests.