summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug <pyos100500@gmail.com>2012-10-11 20:15:35 +0400
committerDoug <pyos100500@gmail.com>2012-10-11 20:15:35 +0400
commit36fafec4e15b2892b1636a5662ff5778d3faeaec (patch)
tree8b39cf3705db8cec173a5295de0fb4580c941046
parent633c0064a0c7cff42e1b7858e973f1b23912d948 (diff)
downloadpygments-36fafec4e15b2892b1636a5662ff5778d3faeaec.tar.gz
Add an alias to DgLexer.
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/agile.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index b4147a78..7c2cc457 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -77,7 +77,7 @@ LEXERS = {
'DartLexer': ('pygments.lexers.web', 'Dart', ('dart',), ('*.dart',), ('text/x-dart',)),
'DebianControlLexer': ('pygments.lexers.text', 'Debian Control file', ('control',), ('control',), ()),
'DelphiLexer': ('pygments.lexers.compiled', 'Delphi', ('delphi', 'pas', 'pascal', 'objectpascal'), ('*.pas',), ('text/x-pascal',)),
- 'DgLexer': ('pygments.lexers.agile', 'dg', ('dg'), ('*.dg',), ('text/x-dg',)),
+ 'DgLexer': ('pygments.lexers.agile', 'dg', ('dg',), ('*.dg',), ('text/x-dg',)),
'DiffLexer': ('pygments.lexers.text', 'Diff', ('diff', 'udiff'), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch')),
'DjangoLexer': ('pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')),
'DtdLexer': ('pygments.lexers.web', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)),
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 7a9f4772..33f2ee4c 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -1823,7 +1823,7 @@ class DgLexer(RegexLexer):
running on the CPython 3 VM.
"""
name = 'dg'
- aliases = []
+ aliases = ['dg']
filenames = ['*.dg']
mimetypes = ['text/x-dg']