From 7e936bfe8409300276765f94754b98128c46aad7 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 4 Sep 2022 07:17:10 +0200 Subject: [PATCH] Use delta to view diffs in Magit --- config.el | 9 +++++++++ packages.el | 1 + 2 files changed, 10 insertions(+) diff --git a/config.el b/config.el index bfe7eaf..8adbe54 100644 --- a/config.el +++ b/config.el @@ -100,3 +100,12 @@ elfeed-search-filter "@all +unread") (elfeed-protocol-enable) (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)) diff --git a/packages.el b/packages.el index a28b4bf..070e861 100644 --- a/packages.el +++ b/packages.el @@ -9,3 +9,4 @@ (package! org-chef) (package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css"))) (package! elfeed-protocol) +(package! magit-delta)