Skip to content

Commit

Permalink
Merge pull request #983 from pastafari/add-magit-hook
Browse files Browse the repository at this point in the history
Add a hook to magit that notifies diff-hl
  • Loading branch information
bbatsov committed Apr 14, 2016
2 parents 1f3ddb6 + 02e0c2f commit 555abd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/prelude-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ indent yanked text (with prefix arg don't indent)."
;; diff-hl
(global-diff-hl-mode +1)
(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)

;; easy-kill
(global-set-key [remap kill-ring-save] 'easy-kill)
Expand Down

0 comments on commit 555abd9

Please sign in to comment.