diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-21 21:00:01 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-21 21:00:01 -0400 |
| commit | 375c76e56b8ecc3e7880e6926cc2380919e92cde (patch) | |
| tree | 418b8bbfc301e75004a7f94f7430d43386d93086 | |
| parent | Only start `flycheck-mode` in appropriate buffers (diff) | |
| download | mmosmacs-375c76e56b8ecc3e7880e6926cc2380919e92cde.tar.gz mmosmacs-375c76e56b8ecc3e7880e6926cc2380919e92cde.tar.bz2 mmosmacs-375c76e56b8ecc3e7880e6926cc2380919e92cde.zip | |
Refine Magit diff display
| -rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -485,7 +485,12 @@ | |||
| 485 | (use-package magit | 485 | (use-package magit |
| 486 | :straight t | 486 | :straight t |
| 487 | :custom | 487 | :custom |
| 488 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) | 488 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1) |
| 489 | :config | ||
| 490 | (setq magit-diff-refine-hunk t | ||
| 491 | magit-diff-paint-whitespace t | ||
| 492 | magit-diff-paint-whitespace-lines t | ||
| 493 | magit-diff-highlight-trailing t)) | ||
| 489 | 494 | ||
| 490 | 495 | ||
| 491 | ;; --------------------------------- | 496 | ;; --------------------------------- |