parent
1977b3dfba
commit
a8ed6c9f7d
1 changed files with 2 additions and 1 deletions
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue