You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I prefer applying changes after writing buffer(s) rather than after opening a file in chezmoi source dir, so I'm using this config adapted from the README:
I noticed that when writing multiple buffers with :wall, chezmoi.nvim will apply changes for every single buffer, e.g. if writing 7 buffers, it will apply changes 7 times (got multiple "Edit: Successfully applied" notifications).
This is obviously slower than applying once and if one's using chezmoi external like me, GitHub's rate limit could be reached rather quickly, resulting in any apply operation failing until the limit is reset.
Is there any way of applying once instead or could it be implemented somehow?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm also using chezmoi externals. but this doesn't happen because we don't add the -R option when automatically apply the changes. do you by any chance have any config that automatically refreshes the externals on every apply?
do you by any chance have any config that automatically refreshes the externals on every apply?
No, I don't. I actually hit GitHub's rate limit while playing around with chezmoi.nvim (I got a Neovim notification telling me so after writing a buffer). But maybe this was just a coincidence, it happens to me occasionally. I ended up creating a GitHub Personal Access Token for chezmoi, I shouldn't ever get limited again.
It would be nice if apply run only once even if writing multiple buffers regardless.
I prefer applying changes after writing buffer(s) rather than after opening a file in
chezmoi
source dir, so I'm using this config adapted from the README:I noticed that when writing multiple buffers with
:wall
,chezmoi.nvim
will apply changes for every single buffer, e.g. if writing 7 buffers, it will apply changes 7 times (got multiple"Edit: Successfully applied"
notifications).This is obviously slower than applying once and if one's using
chezmoi
external like me, GitHub's rate limit could be reached rather quickly, resulting in any apply operation failing until the limit is reset.Is there any way of applying once instead or could it be implemented somehow?
Thanks!
The text was updated successfully, but these errors were encountered: