Commits

pyos  committed 286c81d

Add an alias to DgLexer.

  • Participants
  • Parent commits 8804db5

Comments (0)

Files changed (2)

File pygments/lexers/_mapping.py

     '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',)),

File pygments/lexers/agile.py

     running on the CPython 3 VM.
     """
     name = 'dg'
-    aliases = []
+    aliases = ['dg']
     filenames = ['*.dg']
     mimetypes = ['text/x-dg']