mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 19:19:28 +00:00
10 lines
323 B
EmacsLisp
10 lines
323 B
EmacsLisp
;; Diff colors
|
|
(defun custom-diff-colors ()
|
|
"update the colors for diff faces"
|
|
(set-face-attribute
|
|
'diff-added nil :foreground "green")
|
|
(set-face-attribute
|
|
'diff-removed nil :foreground "red")
|
|
(set-face-attribute
|
|
'diff-changed nil :foreground "purple"))
|
|
(eval-after-load "diff-mode" '(custom-diff-colors))
|