summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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': [