Use delta to view diffs in Magit

This commit is contained in:
coolneng 2022-09-04 07:17:10 +02:00
parent 32305747af
commit 7e936bfe84
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 10 additions and 0 deletions

View File

@ -100,3 +100,12 @@
elfeed-search-filter "@all +unread") elfeed-search-filter "@all +unread")
(elfeed-protocol-enable) (elfeed-protocol-enable)
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)) (add-hook! 'elfeed-search-mode-hook 'elfeed-update))
;; Use delta to view diffs in Magit
(use-package! magit-delta
:after magit
:preface
(setq
magit-delta-default-dark-theme "Nord"
magit-delta-default-light-theme "OneHalfLight")
:config
(magit-delta-mode))

View File

@ -9,3 +9,4 @@
(package! org-chef) (package! org-chef)
(package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css"))) (package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css")))
(package! elfeed-protocol) (package! elfeed-protocol)
(package! magit-delta)