Diff language/syntax

Oktay Acikalin 13 years ago updated by Jon Skinner 13 years ago 4
I'm inspecting diff files many times a day. It would be nice if someone could port or reinvent a syntax file for diffs so that they get colored properly.
There is one available in textmate:

But check your theme if the scopes for diff are there (check with Twilight theme)
Hmm.. last time I tried, it did not work. Probably something got messed up when I tried to export it from tm. I've now checked it out via svn and copied the syntax file into my User folder. Finally after setting the file extension to tmLanguage it worked.

Should we write a little howto in the sublime forum?
Oh yes forget about renaming in tmLanguage.
Something in the documentation about importing bundle files from Textmate would certainly help a some people.
Jon, you may mark this as completed. After I've integrated the language file properly in my plugin I'll post a little howto in the forum...