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

16 Commits

Author SHA1 Message Date
toshimaru
737b3a043f Update go modules 2020-04-14 15:52:56 +10:00
Anthony Fok
330c3bd39c Remove reference to now unneeded go.rice fork from go.mod
Closes #328
2020-02-18 20:17:20 +11:00
Alec Thomas
9fb54c5f75 Add separate go module for ./cmd/chromad.
Fixes #261.
2019-11-28 11:40:24 +11:00
Alec Thomas
3aaf3e542f Fix Java lexer (synced with latest Pygments).
Fixes #297.
2019-11-05 13:57:51 +11:00
Alec Thomas
bbc59ac372 Emit error tokens when there's a group mismatch.
Also don't panic/recover, as we no longer use panic to report "real"
errors.

Fixes #295.
2019-10-24 17:03:35 +11:00
Alec Thomas
73d11b3c45 Clear background colour for TTY formatters. 2019-10-15 21:08:17 +11:00
Alec Thomas
be3313d5c7 Update to most recent version of go.rice fork. 2019-07-20 20:32:22 +10:00
Alec Thomas
2ec7e6c2d1 Use Kong enum for lexers, formatters and styles. 2019-07-19 16:29:13 +10:00
Alec Thomas
ebc5ee03ef Latest go.rice version. 2019-07-17 15:35:59 +10:00
Alec Thomas
3411213e25 Temporarily use go.rice fork with correct asset timestamping/versioning. 2019-07-17 11:24:40 +10:00
Alec Thomas
ffa8a4f67f CORS support + raw HTML view + more. 2019-07-16 21:31:37 +10:00
Alec Thomas
2332264124 Add CSRF support to chromad. 2019-07-16 16:17:37 +10:00
Alec Thomas
7a7fde259b Split out chromad resources. 2019-07-16 15:45:06 +10:00
Alec Thomas
10cee2ee79 Add Chroma playground.
Found here: https://swapoff.org/chroma/playground
2019-07-16 14:19:54 +10:00
Alec Thomas
ea14dd8660 Fixed a fundamental bug where ^ would always match.
The engine was always passing a string sliced to the current position,
resulting in ^ always matching. Switched to use
FindRunesMatchStartingAt.

Fixes #242.
2019-06-12 12:32:20 +10:00
Alec Thomas
3175fa52d7 Support go modules + VB.Net lexer.
Fixes #201.
2018-12-03 20:38:33 -10:00