-
Notifications
You must be signed in to change notification settings - Fork 38
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
PaqClean removes itself #3
Comments
The readme didn't mention that Paq should manage itself (issue #3).
Hi, You should add Paq itself to the list of packages like so:
I think this was in the readme before, or maybe I just forgot to add it. Sorry for the inconvenience 😞 Since Paq is installed in the same directory as any other package, it also manages itself. This allows it to update itself without additional mechanisms. |
Alright, that fixes it! Thank you for the help. |
I have listed https://github.com/alxndr/dotfiles/blob/8d3344765cd4ac2c2712ed8ad9c12979e5df9a12/nvim/init.lua#L13 |
Hey @alxndr, how long have you been using Paq? If you began to use it recently (in the last week or so), you might not need the require 'paq-nvim' {
'savq/paq-nvim';
-- etc.
} If you want to keep using paq as optional, make sure you clone it to an git clone --depth=1 https://github.com/savq/paq-nvim.git \
"${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paqs/opt/paq-nvim |
@savq ah yes, just began using it yesterday! I'll give that a try, thanks. |
When I called
:PaqClean
it removed itself from~/.local/share/nvim/site/pack/paqs/opt/
. That is, the plugin basically uninstalled itself.Here's my lua code that load plugins using paq:
As you can see there's nothing strange, and everything else works fine.
Thank you for this awesome and minimalistic plugin manager!
The text was updated successfully, but these errors were encountered: