forked from FG42/FG42
1
0
Fork 0

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. yet it will highlihgt them for you.
For more info check out `https://github.com/dgutov/diff-hl'." For more info check out `https://github.com/dgutov/diff-hl'."
:commands global-diff-hl-mode :hook (emacs-startup . global-diff-hl-mode)
:config :config
(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))