| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also uniformize usage of the 'with' contact manager to prevent resource leaks.
|
| |
|
| |
|
| |
|
|
|
|
| |
Source: https://github.com/Tuurlijk/Pygments-TypoScript-Lexer
|
| |
|
| |
|
| |
|
|
|
|
| |
object
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
on Py3.
Also fix a bunch of other uses of open() to use the with statement.
|
|
|
|
|
| |
Previously it was way too easy to end up with None as the lexer, which later
fails. This considers aliases, same as the -l argument to pygmentize does.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
lexer.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Patch thanks to gryf
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
state stack for simple regex lexers, and make the output prettier.
|
| |
|
| |
|
| |
|