savq / paq-nvim

🌚 Neovim package manager
MIT License
649 stars 39 forks source link

Repo owner not taken under consideration when trying to install plugin with same name #141

Closed craigmac closed 1 year ago

craigmac commented 1 year ago

Describe the bug

I switched from using shaunsingh/nord.nvim to gbprod/nord.nvim but it seems the owner of the repo isn't taken into consideration on at least the PaqInstall command, because it doesn't detect that the new nord.vim repo is under a different owner, and so doesn't install it.

To Reproduce Add shaunsingh/nord.nvim to your packages and run :PaqInstall, then change it to read gbprod/nord.nvim and run :PaqInstall again, nothing happens because in ~/.config/local/share/nvim/pack/site/pack/paqs/start/ it probably just looks for nord.nvim and doesn't consider that the owner/org may be different.

Expected behavior Somehow PaqInstall would look for nord.nvim first and then when found check if the owner/org is the same as the one given in your packages. If

Raises further question though: How would one install both nord.nvim at the same time currently, make one opt?

Environment: