diff options
author | Geoffrey Irving <irving@naml.us> | 2012-08-28 17:55:29 -0700 |
---|---|---|
committer | Geoffrey Irving <irving@naml.us> | 2012-08-28 17:55:29 -0700 |
commit | fe187b72911c8a1c653c2d81690a1ec47f13fa77 (patch) | |
tree | 477b45c4c79c63e94ed7933e704e19c0ea0a1bd8 | |
parent | 695b7ed5c5bd141320b50fdd4e9db2cd07046e94 (diff) | |
download | pygments-fe187b72911c8a1c653c2d81690a1ec47f13fa77.tar.gz |
Treat sage scripts as python
-rw-r--r-- | pygments/lexers/agile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index b820ed16..ae2456ff 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -37,8 +37,8 @@ class PythonLexer(RegexLexer): """ name = 'Python' - aliases = ['python', 'py'] - filenames = ['*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac'] + aliases = ['python', 'py', 'sage'] + filenames = ['*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac', '*.sage'] mimetypes = ['text/x-python', 'application/x-python'] tokens = { |