paq-nvim
paq-nvim copied to clipboard
`PaqSync` doesn't re-install plugins when `branch` is changed
Bug
Change the branch
of one plugin, run :PaqSync
and the plugin stays the same
Workaround
Comment the plugin (with the branch
property), run :PaqSync
in order to uninstall it, then uncomment and run :PaqSync
again in order for the plugin to be installed from the correct branch
Hi, I saw this issue and thought this would be an easy fix, but I'm currently deep in the shit that is git branches when the repository is cloned with submodules in mind. I think I can create a PR to fix this, but it will take a bit of time. I hope the maintainer accepts the PR :) Also, it would be kinda hard to know what the default branch is when you're switching back from specifying a branch to not doing it and wanting to go back to the default branch. Is it master? Is it main? Git doesn't know 👍🏻