Fix magit preocess colors.

This commit is contained in:
tastytea 2021-07-27 21:05:29 +02:00
parent 9cc465d649
commit 7880b46650
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 2 deletions

View File

@ -18,9 +18,11 @@
(use-package magit
:unless slow-computer
:after (eldoc)
:custom ((magit-diff-refine-hunk 'all)
(magit-process-finish-apply-ansi-colors t))
:custom ((magit-diff-refine-hunk 'all))
:config (progn
;; Didn't work in :custom.
(setq magit-process-finish-apply-ansi-colors t)
;; https://tsdh.org/posts/2021-06-21-using-eldoc-with-magit.html
(defun my/magit-eldoc-for-commit ()
(let ((commit (magit-commit-at-point)))