From 375c76e56b8ecc3e7880e6926cc2380919e92cde Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Sun, 21 May 2023 21:00:01 -0400 Subject: Refine Magit diff display --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 8659832..4807df0 100644 --- a/init.el +++ b/init.el @@ -485,7 +485,12 @@ (use-package magit :straight t :custom - (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) + (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1) + :config + (setq magit-diff-refine-hunk t + magit-diff-paint-whitespace t + magit-diff-paint-whitespace-lines t + magit-diff-highlight-trailing t)) ;; --------------------------------- -- cgit v1.2.3