From 508c79286fa683839c6dc58d6c98527f1392559b Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 28 Mar 2021 10:07:52 -0400 Subject: [PATCH 1/1] Add post/pre refresh hooks to diff-hl --- config.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.org b/config.org index 149d3c0..8efd94b 100644 --- a/config.org +++ b/config.org @@ -588,6 +588,8 @@ Company-box adds icons. #+begin_src emacs-lisp (use-package diff-hl :straight (diff-hl :type git :host github :repo "dgutov/diff-hl") + :hook ((magit-pre-refresh-hook . diff-hl-magit-pre-refresh) + (magit-post-refresh-hook . diff-hl-magit-post-refresh)) :config (global-diff-hl-mode)) #+end_src * General text editing -- 2.39.2