-
Notifications
You must be signed in to change notification settings - Fork 40
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
PaqSync command #51
Comments
Adding The Paq deals with this by… not dealing with it. There are callbacks to print back info to the prompt, but the logic to check whether all operations are finished is very limited. So if you were run nvim --headless -c 'PaqSync' There would be no way to assert that all updates have completed (so that it quits and continues with the rest of a script or whatever). Packer does have it's own async library to deal with this, so these limitations aren't a problem there, but I don't know if there are ways to expose it to the user. Plenary also has utilities for async operations, and I'd be great if these were added to core Neovim. Since Paq is about using built-in features and keeping a small feature set (for better or worse), I think this is out scope. |
Thanks, @savq for implementing the |
It would be great to have a
PaqSync
command just likePackerSync
as described here: https://github.com/wbthomason/packer.nvim#quickstartThis command would be equivalent to first running
PaqInstall
, thePaqClean
and thenPaqUpdate
.Furthermore, it would be nice to have a
PaqSync!
command that runs the whole thing non-interactively to make it easier to use in automation scripts.The text was updated successfully, but these errors were encountered: