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

Fix linter.

This commit is contained in:
Alec Thomas
2019-10-06 19:58:36 +11:00
parent b618823c9b
commit b44683eae8
9 changed files with 13 additions and 10 deletions

View File

@@ -66,7 +66,6 @@ func TypeRemappingLexer(lexer Lexer, mapping TypeMapping) Lexer {
km[k] = rt.To
}
}
}
return RemappingLexer(lexer, func(t Token) []Token {
if k, ok := lut[t.Type]; ok {