Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling a plugin also disables all of its dependencies, even if an enabled plugin has the same dependency #1251

Open
wallefan opened this issue Jul 28, 2023 · 0 comments
Labels
bug v1 An issue or PR relevant to packer v2

Comments

@wallefan
Copy link

  • nvim --version: 0.9.1
  • git --version: 2.41.0
  • Operating system/version: Arch
  • Terminal name/version: Konsole 23.04.3

Steps to reproduce

use {'somebody/plugin1', requires={'someonelse/dependency'}, disable=true}
use {'somebody/plugin2', requires={'someonelse/dependency'}}

Actual behaviour

someonelse/dependency is not loaded (does not appear in packer_compiled.vim)

Expected behaviour

it should be, since plugin2 depends on it
Of note is that if the order of the above two lines is reversed and the disabled plugin appears second, someonelse/dependency will load

Let me know if you need any other information from me.

@wallefan wallefan added bug v1 An issue or PR relevant to packer v2 labels Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v1 An issue or PR relevant to packer v2
Projects
None yet
Development

No branches or pull requests

1 participant