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

@ -149,6 +149,7 @@ is deferred until the file is saved. Respects `git-gutter:disabled-modes'."
:when (featurep! +diff-hl)
:hook (find-file . diff-hl-mode)
:hook (vc-dir-mode . diff-hl-dir-mode)
:hook (dired-mode . diff-hl-dired-mode)
:hook (diff-hl-mode . diff-hl-flydiff-mode)
:config
(set-popup-rule! "^\\*diff-hl" :select nil :size '+popup-shrink-to-fit)