diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.config/emacs-kj/init.el | 2 | ||||
-rw-r--r-- | emacs/.config/emacs-kj/lisp/kj-development.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 68f0c21..dda4edd 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -232,7 +232,7 @@ :ensure t :after (embark consult) :demand t - :hook (embark-mode-hook . consult-preview-at-point-mode)) + :hook (embark-mode . consult-preview-at-point-mode)) ;; For editing grep buffers. (use-package wgrep) diff --git a/emacs/.config/emacs-kj/lisp/kj-development.el b/emacs/.config/emacs-kj/lisp/kj-development.el index 3041319..397f0cc 100644 --- a/emacs/.config/emacs-kj/lisp/kj-development.el +++ b/emacs/.config/emacs-kj/lisp/kj-development.el @@ -76,6 +76,8 @@ (use-package diff-hl :config + (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) + (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) (global-diff-hl-mode)) (use-package graphviz-dot-mode |