fix(vc-gutter): inhibit diff-hl-dired-mode in dirvish

Ref: #6760
This commit is contained in:
Henrik Lissner 2024-08-17 14:24:51 -04:00
parent 1977b3dfba
commit a8ed6c9f7d
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -69,7 +69,8 @@
(defun +vc-gutter-enable-maybe-h ()
"Conditionally enable `diff-hl-dired-mode' in dired buffers.
Respects `diff-hl-disable-on-remote'."
(unless (and (bound-and-true-p diff-hl-disable-on-remote)
(unless (and (bound-and-true-p dirvish-override-dired-mode)
(bound-and-true-p diff-hl-disable-on-remote)
(file-remote-p default-directory))
(diff-hl-dired-mode +1))))