emacs: magit: set magit-diff-refine-hunk
authorAmin Bandali <bandali@gnu.org>
Thu, 5 Sep 2019 12:29:39 +0000 (08:29 -0400)
committerAmin Bandali <bandali@gnu.org>
Thu, 5 Sep 2019 12:29:39 +0000 (08:29 -0400)
.emacs.d/init.el

index 94b096d..21d175d 100644 (file)
@@ -849,7 +849,9 @@ For disabling the behaviour for certain buffers and/or modes."
   (nconc magit-section-initial-visibility-alist
          '(([unpulled status] . show)
            ([unpushed status] . show)))
   (nconc magit-section-initial-visibility-alist
          '(([unpulled status] . show)
            ([unpushed status] . show)))
-  :custom (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
+  :custom
+  (magit-diff-refine-hunk t)
+  (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
   :custom-face (magit-diff-file-heading ((t (:weight normal)))))
 
 ;; recently opened files
   :custom-face (magit-diff-file-heading ((t (:weight normal)))))
 
 ;; recently opened files