diff --git a/nix/modules/git/lisp/fg42/git.el b/nix/modules/git/lisp/fg42/git.el index a6a586e..228d221 100644 --- a/nix/modules/git/lisp/fg42/git.el +++ b/nix/modules/git/lisp/fg42/git.el @@ -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))