Update diff-hl fringe marks after committing with magit
This commit is contained in:
parent
5ffdcf2954
commit
326711f4d2
8
init.el
8
init.el
@ -1516,7 +1516,8 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||
(use-package diff-hl
|
||||
:ensure t
|
||||
:commands (global-diff-hl-mode
|
||||
diff-hl-dired-mode))
|
||||
diff-hl-dired-mode)
|
||||
:autoload (diff-hl-magit-post-refresh))
|
||||
|
||||
(use-package ediff
|
||||
:init (setq ediff-diff-options "-w"
|
||||
@ -1621,7 +1622,10 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||
:config (progn
|
||||
(when (fboundp 'global-magit-file-mode)
|
||||
(global-magit-file-mode -1))
|
||||
(global-git-commit-mode 1)))
|
||||
(global-git-commit-mode 1)
|
||||
|
||||
;; Update diff-hl fringe marks after committing
|
||||
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)))
|
||||
|
||||
(use-package page-break-lines
|
||||
:pin "melpa-stable"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user