Don't do dired git highlighting if remote

Fixes https://github.com/hlissner/doom-emacs/issues/2439
This commit is contained in:
Mihai Dinu 2020-01-27 23:50:05 +01:00 committed by GitHub
parent b9f823bfa2
commit 46cc7f7fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ only variant that supports --group-directories-first."
(use-package! diff-hl
:hook (dired-mode . diff-hl-dired-mode)
:hook (dired-mode . diff-hl-dired-mode-unless-remote)
:hook (magit-post-refresh . diff-hl-magit-post-refresh)
:config
;; use margin instead of fringe