refactor!(dired): move diff-hl config to :ui vc-gutter

BREAKING CHANGE: users who are used to diff-hl displaying diffs in dired
will notice they have vanished. diff-hl's conig has been moved to :ui
vc-gutter +diff-hl (added in 27a448b). Enable it to get it back.

Ref: 27a448b04b
This commit is contained in:
Henrik Lissner 2022-08-09 14:59:17 +02:00
parent e76f327e0a
commit 24623f9959
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 1 additions and 10 deletions

View file

@ -71,15 +71,6 @@ Fixes #3939: unsortable dired entries on Windows."
:hook (dired-mode . diredfl-mode))
(use-package! diff-hl
:when (featurep! :ui vc-gutter)
:hook (dired-mode-hook . diff-hl-margin-local-mode)
:init
(unless (featurep! :ui vc-gutter +diff-hl)
(add-hook 'dired-mode-hook #'diff-hl-dired-mode-unless-remote)
(add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh)))
(use-package! ranger
:when (featurep! +ranger)
:after dired