Fix diff-hl to load at startup

This commit is contained in:
Sameer Rahmani 2024-05-06 14:57:18 +01:00
parent c8991a7868
commit aeb4f1a6a2
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ and you've made some changes to the current buffer that are not commited
yet it will highlihgt them for you.
For more info check out `https://github.com/dgutov/diff-hl'."
:commands global-diff-hl-mode
:hook (emacs-startup . global-diff-hl-mode)
:config
(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))