summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-08-19 16:54:10 -0400
committerJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-08-19 16:54:10 -0400
commit66e5f39fd2817633090df4320ceaeb18da1efd55 (patch)
treee9c6774d17ba74c121ecb09c7a887f1f180c5933
parent58abfa7c55988d3344248bfb93f862bfcb4f19ca (diff)
downloadpygments-66e5f39fd2817633090df4320ceaeb18da1efd55.tar.gz
SLexer: update filenames and mimetypes
-rw-r--r--pygments/lexers/math.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 475cee0d..dd22e66e 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -5,7 +5,7 @@
Lexers for math languages.
- :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2012 by the Pygments team, see AUTHOR.
:license: BSD, see LICENSE for details.
"""
@@ -1010,8 +1010,9 @@ class SLexer(RegexLexer):
name = 'S'
aliases = ['splus', 's', 'r']
- filenames = ['*.S', '*.R']
- mimetypes = ['text/S-plus', 'text/S', 'text/R']
+ filenames = ['*.S', '*.R', '.Rhistory', '.Rprofile']
+ mimetypes = ['text/S-plus', 'text/S', 'text/x-r-source', 'text/x-r',
+ 'text/x-R', 'text/x-r-history', 'text/x-r-profile']
tokens = {
'comments': [