summaryrefslogtreecommitdiff
path: root/pygments/lexers/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r--pygments/lexers/text.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index 6bce841f..6c35e1d3 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -40,6 +40,7 @@ class MakefileLexer(RegexLexer):
name = 'Makefile'
aliases = ['make', 'makefile', 'mf']
filenames = ['*.mak', 'Makefile', 'makefile']
+ mimetypes = ['text/x-makefile']
tokens = {
'root': [
@@ -82,6 +83,7 @@ class DiffLexer(RegexLexer):
name = 'Diff'
aliases = ['diff']
filenames = ['*.diff', '*.patch']
+ mimetypes = ['text/x-diff']
tokens = {
'root': [
@@ -141,6 +143,7 @@ class TexLexer(RegexLexer):
name = 'TeX'
aliases = ['tex', 'latex']
filenames = ['*.tex', '*.aux', '*.toc']
+ mimetypes = ['text/x-tex', 'text/x-latex']
tokens = {
'general': [