diff options
author | Georg Brandl <georg@python.org> | 2020-12-24 16:52:35 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2020-12-24 17:06:55 +0100 |
commit | 7f0a0904460b2890ea3e28c92098c1bf6cee8955 (patch) | |
tree | 0de3ea0d17b1b3b8e4575d0c3437f64d17eba977 /pygments/lexers/_mapping.py | |
parent | 6b615e68374a1bce04a3f258a2ce10d4a5e319de (diff) | |
download | pygments-git-raw-alias.tar.gz |
Remove the alias for the RawTokenLexer.raw-alias
RawTokenLexer was broken until 2.7.4, so it seems pretty much unused,
and it led to tracebacks when the "raw" alias was used from some
markup that allows specifying a language alias.
We'll still keep the class for special usage as intended.
Diffstat (limited to 'pygments/lexers/_mapping.py')
-rw-r--r-- | pygments/lexers/_mapping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index 8360ec4e..2e74b0c1 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -376,7 +376,7 @@ LEXERS = { 'RagelLexer': ('pygments.lexers.parsers', 'Ragel', ('ragel',), (), ()), 'RagelObjectiveCLexer': ('pygments.lexers.parsers', 'Ragel in Objective C Host', ('ragel-objc',), ('*.rl',), ()), 'RagelRubyLexer': ('pygments.lexers.parsers', 'Ragel in Ruby Host', ('ragel-ruby', 'ragel-rb'), ('*.rl',), ()), - 'RawTokenLexer': ('pygments.lexers.special', 'Raw token data', ('raw',), (), ('application/x-pygments-tokens',)), + 'RawTokenLexer': ('pygments.lexers.special', 'Raw token data', (), (), ('application/x-pygments-tokens',)), 'RdLexer': ('pygments.lexers.r', 'Rd', ('rd',), ('*.Rd',), ('text/x-r-doc',)), 'ReasonLexer': ('pygments.lexers.ml', 'ReasonML', ('reason', 'reasonml'), ('*.re', '*.rei'), ('text/x-reasonml',)), 'RebolLexer': ('pygments.lexers.rebol', 'REBOL', ('rebol',), ('*.r', '*.r3', '*.reb'), ('text/x-rebol',)), |