summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackbird <devnull@localhost>2006-11-14 18:35:30 +0100
committerblackbird <devnull@localhost>2006-11-14 18:35:30 +0100
commite85200c75b57d67ad192e425c7690c8ecb4ecca9 (patch)
treeceb1b4d60e058b6630b1e71ff51dd2863b4b9bb4
parent37bf8d92eac603a0ab76bedead3b982f048677fb (diff)
downloadpygments-e85200c75b57d67ad192e425c7690c8ecb4ecca9.tar.gz
[svn] added text/x-patch for the diff lexer (proposed by matt_good)
-rw-r--r--pygments/lexers/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index 6c35e1d3..b2c38ebb 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -83,7 +83,7 @@ class DiffLexer(RegexLexer):
name = 'Diff'
aliases = ['diff']
filenames = ['*.diff', '*.patch']
- mimetypes = ['text/x-diff']
+ mimetypes = ['text/x-diff', 'text/x-patch']
tokens = {
'root': [