Replies: 1 comment 6 replies
-
I haven't tried it but this screams packer.nvim bug. Or maybe just a packer.nvim limitation, as lazily loading commands is fundamentally impossible to do robustly without knowing the exact definition of those commands. I'm gonna go ahead and say this is unsupported and strongly discouraged. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my packer.nvim config for Fugitive:
The plugin is only loaded when one of the listed commands are called. I try to do this for all my plugins, as it really helps startup time.
However, in this configuration,
:tab G
acts precisely like:G
when called the first time:If I close the split and call it again, it works.
If I load Fugitive eagerly (
opt = false
), it works as expected.Any ideas why
:tab ...
doesn't work when lazy loading? Is there anything I can do to make it work, or is this a bug that must be fixed by either Fugitive or packer.nvim?Beta Was this translation helpful? Give feedback.
All reactions