1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-15 13:33:12 +02:00

9 Commits

Author SHA1 Message Date
Thomas Tay
57c1bd941c
Added pony lexer (#372) 2020-06-12 14:05:39 +10:00
Alec Thomas
937aba1514 Fixes #344. 2020-03-15 17:06:21 +11:00
Alec Thomas
2d9ac06785 Fix PowerShell error on drive letters.
Fixes #312.
2019-12-07 19:00:42 -08:00
Dustin Heestand
4a43fbd1ec Removed # as a comment character 2019-05-06 10:36:17 +10:00
Kenneth Shaw
95d0a9381b Fix Dollar-Quoted Strings (postgres + cql)
This commit refactors code from the markdown lexer into the chroma
package, and alters the PostgreSQL and CQL lexers to make use of it.

Additionally, an example markdown with the various sublexers is added.
2018-06-12 09:16:18 +07:00
Nathan Glenn
cd793681bc Create plaintext lexer (#138) 2018-04-19 07:47:59 +10:00
Alec Thomas
db6920e68f Implemented delegating lexer.
This is a lexer that is useful for templating languages, where the
surrounding text may be of a different syntax. eg. PHP+HTML

The PHP lexer has been changed accordingly.

Fixes #80
2018-03-18 20:38:29 +11:00
Alec Thomas
15a009f0fc Add DelegatingLexer. 2018-03-17 13:44:03 +11:00
Alec Thomas
563aadc53c Moved lexers into alphabetical sub-packages.
This was done to speed up incremental compilation when working on
lexers. That is, modifying a single lexer will no longer require
recompiling all lexers.

This is a (slightly) backwards breaking change in that lexers are no
longer exported directly in the lexers package. The registry API is
"aliased" at the old location.
2018-02-15 21:09:02 +11:00