mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Make use of use-package's :bind option whenever possible. - Make use of use-package's :hook option whenever possible. - Rename and move all mode setup functions into use-package's :init step. - Other minor misc fixes and tweaks to a few modules.
20 lines
398 B
EmacsLisp
20 lines
398 B
EmacsLisp
;;; siren-diff-hl.el --- jimeh's Emacs Siren: diff-hl configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for diff-hl.
|
|
|
|
;;; Code:
|
|
|
|
(use-package diff-hl
|
|
:demand
|
|
:hook ((dired-mode . diff-hl-dired-mode)
|
|
(magit-post-refresh-hook . diff-hl-magit-post-refresh))
|
|
|
|
:config
|
|
(global-diff-hl-mode +1)
|
|
(diff-hl-flydiff-mode +1))
|
|
|
|
(provide 'siren-diff-hl)
|
|
;;; siren-diff-hl.el ends here
|