1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-12-01 22:51:19 +02:00

Add support for line numbers.

This commit is contained in:
Alec Thomas
2017-09-20 13:30:46 +10:00
parent feb78ed6f3
commit 3f230ec717
7 changed files with 298 additions and 171 deletions

View File

@@ -16,6 +16,8 @@ type TokenType int
// Meta token types.
const (
Background TokenType = -1 - iota
LineNumbers
Highlight
Escape
Error
Other