Load config only if plugin is installed and loaded #812
-
Thank you for this very nice package manager. When installing fresh I get all sorts of errors and the plugins fail to install. The reason are configs that fail due to the missing plugins. I then comment out all 'config = ' lines and then I am able to install the plugins. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
This has been discussed before, and I implemented a tentative solution in #508. However, we found that checking for an installed plugin before running its config led to flickering for some plugins (e.g. statuslines), and shelved the idea until we could come up with something better. If you have ideas for how to work around this problem, I'd be happy to hear them! |
Beta Was this translation helpful? Give feedback.
-
I've just found out the reason. I added multiple packages without the require option, then config is not picked up |
Beta Was this translation helpful? Give feedback.
This has been discussed before, and I implemented a tentative solution in #508. However, we found that checking for an installed plugin before running its config led to flickering for some plugins (e.g. statuslines), and shelved the idea until we could come up with something better. If you have ideas for how to work around this problem, I'd be happy to hear them!