I'm currently seeing a display problem in Magit. For a while I've seen that when I do magit-status
, the diffs are no longer highlighted. I didn't care for a while, thinking it was the theme I've been using, but today I tried other themes and in all of them there's no highlighting. I installed solarized-dark-theme
which is used in the screenshots shown here, but I don't have the highlighting:
Is there any setting I need to turn on? When searching I couldn't find any references to a similar problem.
P.S. I'm using: GNU Emacs 25.3.1 (x86_64-apple-darwin17.4.0, NS appkit-1561.20 Version 10.13.3 (Build 17D47)) of 2018-02-08
and magit-version
is: Magit 2.11.0-510-g1c4fa9b1, Git 2.13.6 (Apple Git-96), Emacs 25.3.1, darwin
.
Update
Thanks @tarsius, now I know this is an issue specific to my configuration and not an issue with magit or the themes themselves, it works just fine when using magit-emacs-Q-command
. I will try to "bisect" my configuration to find the issue but if someone can easily point what's wrong with my configuration will be helpful. This is my init.el.
Update #2
Seem's that the conflicting setting is (add-hook 'font-lock-mode-hook 'hc-highlight-tabs)
, I use this to see the tab character in files. Is there any workaround to make it co-exist with magit
?
Thanks!
magit-after-revert-hook
andmagit-not-reverted-hook
no longer exist. Also I recommend you usediff-hl
instead ofgit-gutter
. – tarsius Feb 10 '18 at 22:00(add-hook 'font-lock-mode-hook 'hc-highlight-tabs)
which I use to see the tabs on files. Is there a workaround so this config can coexist with magit? – ZzAntáres Feb 12 '18 at 3:39