1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-11-25 22:32:32 +02:00

Clear background colour for TTY formatters.

This commit is contained in:
Alec Thomas
2019-10-15 21:01:41 +11:00
parent b44683eae8
commit 73d11b3c45
9 changed files with 70 additions and 53 deletions

View File

@@ -34,7 +34,7 @@ type insertion struct {
tokens []Token
}
func (d *delegatingLexer) Tokenise(options *TokeniseOptions, text string) (Iterator, error) {
func (d *delegatingLexer) Tokenise(options *TokeniseOptions, text string) (Iterator, error) { // nolint: gocognit
tokens, err := Tokenise(Coalesce(d.language), options, text)
if err != nil {
return nil, err