You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've been getting error messages (no package.preload["whatever"] etc.) for plugins in /opt and finally figured out why: Even though I set the cond key to false, and the plugin was not loaded, packer was still running the config function for that plugin which of course requires the plugin to be loaded.
E.g. in
I wonder if that is intentional? I imagine that even in a lazy-loading situation it makes no sense to call the post-load function before the loading happens, but then again I'm still really new to all this so maybe there's a good reason...
Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I've been getting error messages (
no package.preload["whatever"]
etc.) for plugins in/opt
and finally figured out why: Even though I set thecond
key to false, and the plugin was not loaded, packer was still running theconfig
function for that plugin which of course requires the plugin to be loaded.E.g. in
I wonder if that is intentional? I imagine that even in a lazy-loading situation it makes no sense to call the post-load function before the loading happens, but then again I'm still really new to all this so maybe there's a good reason...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions