Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git diff trailing whitespace invisible in Term mode #166

Open
samestep opened this issue Jul 14, 2015 · 1 comment
Open

Git diff trailing whitespace invisible in Term mode #166

samestep opened this issue Jul 14, 2015 · 1 comment

Comments

@samestep
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant