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
Anzu is a package to preview replacements in the buffer before finalizing the input. It breaks if Aggressive Indent moves text while the replacement is running. It seems that because of how Anzu reads text from the minibuffer, Agressive Indent sees this-command as exit-minibuffer instead of anzu-query-replace.
Adding exit-minibuffer to aggressive-indent-protected-current-commands seems to correctly prevent indentation so that Anzu can correctly replace the text, but I don't know whether that would break anything else.
The text was updated successfully, but these errors were encountered:
This prevents indentation while running `anzu-query-replace` and
`anzu-query-replace-regexp`, for which `last-command` is `exit-minibuffer` after
reading text from the minibuffer. See Malabarba#155.
Anzu is a package to preview replacements in the buffer before finalizing the input. It breaks if Aggressive Indent moves text while the replacement is running. It seems that because of how Anzu reads text from the minibuffer, Agressive Indent sees
this-command
asexit-minibuffer
instead ofanzu-query-replace
.Adding
exit-minibuffer
toaggressive-indent-protected-current-commands
seems to correctly prevent indentation so that Anzu can correctly replace the text, but I don't know whether that would break anything else.The text was updated successfully, but these errors were encountered: