No indentation on yas-expand
Opened this issue · 0 comments
nordlow commented
aggressive-indent--keep-track-of-changes is not run when I do yasnippet expand because it doesn't run any of the hooks
(add-hook 'after-change-functions #'aggressive-indent--keep-track-of-changes nil 'local)
(add-hook 'after-revert-hook #'aggressive-indent--clear-change-list nil 'local)
(add-hook 'before-save-hook #'aggressive-indent--process-changed-list-and-indent nil 'local)
(add-hook 'kill-buffer-hook #'aggressive-indent--maybe-cancel-timer nil 'local)
that currently trigger an update.
Should I add an advice to yas-expand that calls after-change-functions or should some other hook be set to run aggressive-indent--keep-track-of-changes
?