configure magit-delta

This commit is contained in:
Willem Van den Ende
2022-08-10 22:35:39 +02:00
parent 53c324e679
commit b5eed4b538
2 changed files with 2 additions and 8 deletions
+1 -6
View File
@@ -204,12 +204,7 @@
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented. ;; they are implemented.
;; doom's use-package! was incomprehensible to me, so use regular use-package ;; configure git-delta
;; https://scripter.co/using-git-delta-with-magit/
(use-package! magit-delta
:defer-incrementally magit)
(after! magit (magit-delta-mode +1)) (after! magit (magit-delta-mode +1))
+1 -2
View File
@@ -8,7 +8,7 @@
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: ;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;(package! some-package) ;(package! some-package)
(package! magit-delta)
;; To install a package directly from a remote git repo, you must specify a ;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here: ;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
;; https://github.com/raxod502/straight.el#the-recipe-format ;; https://github.com/raxod502/straight.el#the-recipe-format
@@ -40,7 +40,6 @@
;; Use `:pin' to specify a particular commit to install. ;; Use `:pin' to specify a particular commit to install.
;(package! builtin-package :pin "1a2b3c4d5e") ;(package! builtin-package :pin "1a2b3c4d5e")
(package! magit-delta :recipe (:host github :repo "dandavison/magit-delta"))
;; Doom's packages are pinned to a specific commit and updated from release to ;; Doom's packages are pinned to a specific commit and updated from release to
;; release. The `unpin!' macro allows you to unpin single packages... ;; release. The `unpin!' macro allows you to unpin single packages...