diff options
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r-- | pygments/lexers/math.py | 7 |
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': [ |