Enable word-level diff highlighting for Magit

This commit is contained in:
2026-03-29 23:55:34 +02:00
parent 6065d732c0
commit eb5aafb454
2 changed files with 7 additions and 0 deletions

View File

@@ -106,3 +106,8 @@
;; Set ruff as the default python formatter ;; Set ruff as the default python formatter
(after! python (after! python
(set-formatter! 'ruff :modes '(python-mode python-ts-mode))) (set-formatter! 'ruff :modes '(python-mode python-ts-mode)))
;; Use delta to view diffs in Magit
(use-package! magit-delta
:after magit
:config
(magit-delta-mode))

View File

@@ -29,3 +29,5 @@
(unpin! pdf-tools) (unpin! pdf-tools)
;; Declarative org capture templates ;; Declarative org capture templates
(package! doct :recipe (:host github :repo "progfolio/doct")) (package! doct :recipe (:host github :repo "progfolio/doct"))
;; Word-level diff highlighting for Magit
(package! magit-delta)