diff options
author | blackbird <devnull@localhost> | 2007-01-20 18:34:13 +0100 |
---|---|---|
committer | blackbird <devnull@localhost> | 2007-01-20 18:34:13 +0100 |
commit | ed188fd9f6fc0f5adaec44daca32d6bcfff5ce80 (patch) | |
tree | 95f7fbbb082844682ecf2e74a4b289760aac6891 /pygments/lexers/agile.py | |
parent | 48588688b32b374c7edeee945336cc83eaa38a74 (diff) | |
download | pygments-ed188fd9f6fc0f5adaec44daca32d6bcfff5ce80.tar.gz |
[svn] various changes in pygments (does also affect the docs)
Diffstat (limited to 'pygments/lexers/agile.py')
-rw-r--r-- | pygments/lexers/agile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index fc9e4e46..fa702f7a 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -174,6 +174,7 @@ class PythonConsoleLexer(Lexer): """ name = 'Python console session' aliases = ['pycon'] + mimetypes = ['text/x-python-doctest'] def get_tokens_unprocessed(self, text): pylexer = PythonLexer(**self.options) @@ -584,6 +585,7 @@ class RubyConsoleLexer(Lexer): """ name = 'Ruby irb session' aliases = ['rbcon', 'irb'] + mimetypes = ['text/x-ruby-shellsession'] _prompt_re = re.compile('irb\([a-zA-Z_][a-zA-Z0-9_]*\):\d{3}:\d+[>*] ') |