From 20bbde40f362004fdc9f54e5c3984d3c15813e64 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 30 Nov 2021 14:56:08 +0100 Subject: [PATCH] Add magit-delta diffing tool --- config.org | 8 ++++++++ packages.el | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/config.org b/config.org index c3aafda..12deecc 100644 --- a/config.org +++ b/config.org @@ -40,6 +40,7 @@ - [[#doom-specific][Doom specific]] - [[#magit][Magit]] - [[#gitlab-ci-skip-flag][Gitlab CI skip flag]] + - [[#magit-delta][magit-delta]] - [[#email][Email]] - [[#account-configuration][Account configuration]] - [[#disable-org-msg-by-default][Disable =org-msg= by default]] @@ -522,6 +523,13 @@ not ready yet. GitLab push options are documented [[https://docs.gitlab.com/ee/user/project/push_options.html][here]]. +** magit-delta + +#+begin_src emacs-lisp +(use-package! magit-delta + :hook (magit-mode . magit-delta-mode)) +#+end_src + * Email ** Account configuration diff --git a/packages.el b/packages.el index f4e9446..22208c0 100644 --- a/packages.el +++ b/packages.el @@ -55,3 +55,7 @@ (package! beancount-mode :recipe (:host github :repo "beancount/beancount-mode") :pin "dcb317ed0a7582243f30ffc44aaf31717a81502b") + +(package! magit-delta + :recipe (:host github :repo "dandavison/magit-delta") + :pin "56cdffd377279589aa0cb1df99455c098f1848cf")