diff options
author | Pekka Kl?rck <devnull@localhost> | 2013-01-11 00:23:05 +0200 |
---|---|---|
committer | Pekka Kl?rck <devnull@localhost> | 2013-01-11 00:23:05 +0200 |
commit | 0fff159bfd753a637b5c187525b9754674258eeb (patch) | |
tree | a6b73347ff223d0f0d556ca8807cb03f78fd3997 /pygments/lexers/_mapping.py | |
parent | 16c4f7b93dcb7b1469f4cd5dab7648d98bd73248 (diff) | |
download | pygments-0fff159bfd753a637b5c187525b9754674258eeb.tar.gz |
Add support for *.robot as an alternative extension for *.txt.
This new extension was added in the recent Robot Framework 2.7.6:
http://code.google.com/p/robotframework/wiki/ReleaseNotes27#Robot_Framework_2.7.6
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 e273734a..d5fb7252 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -244,7 +244,7 @@ LEXERS = { 'RedcodeLexer': ('pygments.lexers.other', 'Redcode', ('redcode',), ('*.cw',), ()), 'RegeditLexer': ('pygments.lexers.text', 'reg', (), ('*.reg',), ('text/x-windows-registry',)), 'RhtmlLexer': ('pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)), - 'RobotFrameworkLexer': ('pygments.lexers.other', 'RobotFramework', ('RobotFramework', 'robotframework'), ('*.txt',), ('text/x-robotframework',)), + 'RobotFrameworkLexer': ('pygments.lexers.other', 'RobotFramework', ('RobotFramework', 'robotframework'), ('*.txt', '*.robot'), ('text/x-robotframework',)), 'RstLexer': ('pygments.lexers.text', 'reStructuredText', ('rst', 'rest', 'restructuredtext'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')), 'RubyConsoleLexer': ('pygments.lexers.agile', 'Ruby irb session', ('rbcon', 'irb'), (), ('text/x-ruby-shellsession',)), 'RubyLexer': ('pygments.lexers.agile', 'Ruby', ('rb', 'ruby', 'duby'), ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby'), ('text/x-ruby', 'application/x-ruby')), |