add autoloads
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
(use-package diff-hl
|
||||
;; show diffs in fringes (for margins see `diff-hl-margin')
|
||||
;; https://github.com/dgutov/diff-hl
|
||||
:init (require 'diff-hl-autoloads)
|
||||
:hook (((prog-mode vc-dir-mode org-mode) . turn-on-diff-hl-mode)
|
||||
(magit-pre-refresh . diff-hl-magit-pre-refresh)
|
||||
(magit-post-refresh . diff-hl-magit-post-refresh))
|
||||
@@ -65,7 +66,6 @@
|
||||
;; navigation and revert commands still work. Consider turning
|
||||
;; diff-hl-margin-mode on, to show the indicators in the margin
|
||||
;; instead.
|
||||
:after diff-hl
|
||||
:unless (display-graphic-p)
|
||||
:hook ((diff-hl-mode . diff-hl-margin-mode)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user