fix(format): use +vc-gutter-update-h instead

+vc-gutter-init-maybe-h is not defined when using +diff-hl so instead
let's use +vc-gutter-update-h to refresh the VC gutter.
This commit is contained in:
LemonBreezes 2023-09-15 21:08:37 -05:00 committed by Henrik Lissner
parent 57965f18a5
commit aab5215951

View file

@ -68,4 +68,4 @@ This is controlled by `+format-on-save-disabled-modes'."
(defun +format--refresh-git-gutter-h () (defun +format--refresh-git-gutter-h ()
(when (fboundp '+vc-gutter-update-h) (when (fboundp '+vc-gutter-update-h)
(+vc-gutter-init-maybe-h)))) (+vc-gutter-update-h))))