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

View file

@ -3,7 +3,6 @@
(package! diredfl :pin "f9140b2c42151dca669003d685c9f079b2e3dc37")
(package! dired-git-info :pin "9461476a28a5fec0784260f6e318237c662c3430")
(package! diff-hl :pin "4a08b02afec1fc6b1e84de46cc34f75f6c9c3bcc")
(package! dired-rsync :pin "7940d9154d0a908693999b0e1ea351a6d365c93d")
(when (featurep! +ranger)
(package! ranger :pin "2498519cb21dcd5791d240607a72a204d1761668"))