Adding Diff syntax highlighting to Sublime Text – Rob Allen's DevNotes


: 4

My chosen colour scheme for Sublime Text doesn't include support for diff/patch files, so I added my own.

To the bottom of my .tmTheme file, I added this just above the closing </array>:

This sets up a green colour for the meta information, blue for added lines, red for deleted lines and a yellowish colour for changed.