Adding Diff syntax highlighting to Sublime Text

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.

2 thoughts on “Adding Diff syntax highlighting to Sublime Text

Comments are closed.