I just updated from a really old version of magit v1.4 to the latest version v2.6. I'm using the latest solarized-dark theme. *Note* I'm on latest git sha for magit-mode, color-theme-solarized, and all magit's dependencies.
After the update all the coloring that used to make it easy to read the diff (red for deletion, green for addition) is now gone. The diffs have no highlighting whatsoever. I went through the documentation but all I can find is this section (https://magit.vc/manual/magit/Theming-Faces.html#Theming-Faces) which makes me feel is intended for theme writers and not users.
Being desperate I checked the following faces and they all seem to be set properly but aren't taking effect
1. magit-diff-{added,removed}
2. diff-{added,removed}
Can someone give me pointers to the section of the docs that discuss enabling colors and setting them.
Thanks,
John
Thanks for the pointer I'll check it out.
I finally found the issue with coloring in magit
modes. It looks like font-lock
mode resets all the faces after magit
sets them. The following seem to fix the problem but I’m not sure if this is something that should be fixed in magit
or in my emacs setup:
(add-hook 'magit-mode-hook '(lambda ()
(font-lock-mode 0))
Thoughts ?