1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-21 19:06:18 +02:00

4 Commits

Author SHA1 Message Date
Daniel Eloff
9c3abeae1d Tokens by value (#187)
This results in about a 8% improvement in speed.
2018-11-04 10:22:51 +11:00
Alec Thomas
f315512f5c Add support for Go templates.
These are exposed as go-text-template and go-html-template.

Fixes #105.
2018-03-18 21:57:34 +11:00
Alec Thomas
2ca426a8d1 Make TypeMappingLexer a bit less prone to error. 2017-09-27 21:52:25 +10:00
Alec Thomas
102aa61ac3 Add RemappingLexer.
This pattern is used heavily in Pygments for certain lexers,
particularly Lisp variants. See #43.
2017-09-27 11:30:55 +10:00