Disable diff-hl in magit

This commit is contained in:
Willem Van den Ende
2022-08-10 23:30:23 +02:00
parent e1ade78140
commit 97ff21b768
2 changed files with 20 additions and 1 deletions
+6
View File
@@ -207,6 +207,12 @@
;; configure git-delta
(after! magit (magit-delta-mode +1))
;; HACK: disable diff-hl in magit - it appears to work ok inside files, but not in magit
;; Why? diff-hl-magit-post-refresh appears to be 'null' for some reason
;; When? after stage, unstage or commit an error appears in messages.
(after! (magit)
(remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
(setq evil-move-cursor-back nil)