Commits

Geoffrey Irving committed 1c9c294

Treat sage scripts as python

  • Participants
  • Parent commits 0420362

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

     """
 
     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 = {