Diff or patch encoding?


#1

Atom comes with some great support for automatically coloring several different types of languages. I noticed that a .patch file generated from a diff utility (svn diff) isn’t recognized. Is it hard to add this? How can one define addhoc schemas for a particular “encoding”?


#2

The easiest way is finding a TextMate bundle for it and converting it to Atom :smile: Or if you want to write it yourself, you can take a look at one of the default language packages for an example.


#3

Already available: https://atom.io/packages/language-diff