sellout / emacs-color-theme-solarized

Emacs highlighting using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
MIT License
1.16k stars 201 forks source link

Git diff trailing whitespace invisible in Term mode #166

Open samestep opened 9 years ago

samestep commented 9 years ago

When I run emacs -q, open Term mode using M-x term, and run git diff in one of my repositories, any trailing whitespace is displayed as a bright red box. If I then enable Solarized...

(add-to-list 'custom-theme-load-path "~/.emacs.d/emacs-color-theme-solarized")
(load-theme 'solarized t)

... and run git diff again, the trailing whitespace does not show up. How can I fix this problem?

samestep commented 9 years ago

I haven't found a solution, but just in case anyone else has this problem, I would recommend using Bozhidar Batsov's Emacs Solarized theme (solarized-theme in MELPA) instead of this one, as it displays trailing whitespace in git diff properly.