summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-10-14 22:56:30 -0700
committerTim Hatch <tim@timhatch.com>2014-10-14 22:56:30 -0700
commitda825f4cfed1e7834caabb88274bae4b3c437b3a (patch)
treede78e0a1e143c393537efea1ed8abc7db04ca364
parentfe7dd126969de1e23dc9a0b751789eb8aaa2fb90 (diff)
downloadpygments-da825f4cfed1e7834caabb88274bae4b3c437b3a.tar.gz
rb is already an alias for the RubyLexer.
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/resource.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 05929729..83b2ca9b 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -301,7 +301,7 @@ LEXERS = {
'RedLexer': ('pygments.lexers.rebol', 'Red', ('red', 'red/system'), ('*.red', '*.reds'), ('text/x-red', 'text/x-red-system')),
'RedcodeLexer': ('pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()),
'RegeditLexer': ('pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)),
- 'ResourceLexer': ('pygments.lexers.resource', 'ResourceBundle', ('resource', 'resourcebundle', 'rb'), ('*.txt',), ()),
+ 'ResourceLexer': ('pygments.lexers.resource', 'ResourceBundle', ('resource', 'resourcebundle'), ('*.txt',), ()),
'RexxLexer': ('pygments.lexers.scripting', 'Rexx', ('rexx', 'arexx'), ('*.rexx', '*.rex', '*.rx', '*.arexx'), ('text/x-rexx',)),
'RhtmlLexer': ('pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)),
'RobotFrameworkLexer': ('pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.txt', '*.robot'), ('text/x-robotframework',)),
diff --git a/pygments/lexers/resource.py b/pygments/lexers/resource.py
index 7eabe51c..78bee786 100644
--- a/pygments/lexers/resource.py
+++ b/pygments/lexers/resource.py
@@ -20,7 +20,7 @@ __all__ = ['ResourceLexer']
class ResourceLexer(RegexLexer):
name = 'ResourceBundle'
- aliases = ['resource', 'resourcebundle', 'rb']
+ aliases = ['resource', 'resourcebundle']
filenames = ['*.txt']
_types = (':table', ':array', ':string', ':bin', ':import', ':intvector',