config loading even if cond = False ... is that intentional (and if so, why)? #1105
Unanswered
HotwheelsSisyphus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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