Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs magit diff highlighting

Tags:

emacs

diff

magit

I'm just getting started with magit. I really like it, except that the diff viewer is really annoying to me. The chunk highlighting makes no sense because as I scroll around the cursor moves with the screen, highlighting new regions. There is also no other syntax highlighting in the magit diff mode. Does anybody know how to disable the chunk highlighting and get better diff colours other than white on gray?

Thanks.

like image 386
Chris H Avatar asked May 11 '11 14:05

Chris H


1 Answers

The zone highlighted correspond to the stash that would be staged when you hit "s".

Inside the hunk, the diff should be colored. You could test the development version (see https://github.com/magit/magit), and if this doesn't solve your issue, add comment in https://github.com/magit/magit/issues/133 about your configuration and exact problem.

like image 65
Rémi Avatar answered Sep 30 '22 19:09

Rémi