Merge pull request #983 from pastafari/add-magit-hook
Add a hook to magit that notifies diff-hl
This commit is contained in:
commit
555abd9a2f
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ indent yanked text (with prefix arg don't indent)."
|
||||||
;; diff-hl
|
;; diff-hl
|
||||||
(global-diff-hl-mode +1)
|
(global-diff-hl-mode +1)
|
||||||
(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
|
(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
|
||||||
|
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
|
||||||
|
|
||||||
;; easy-kill
|
;; easy-kill
|
||||||
(global-set-key [remap kill-ring-save] 'easy-kill)
|
(global-set-key [remap kill-ring-save] 'easy-kill)
|
||||||
|
|
Loading…
Reference in a new issue