1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-01-26 03:20:10 +02:00

README: Fix typo.

This commit is contained in:
Dmitri Shuralyov 2017-11-06 22:36:45 -05:00 committed by Alec Thomas
parent 20d03ba7a2
commit ca4cfa51d5

View File

@ -86,7 +86,7 @@ written in. There are three primary ways to do that:
lexer := lexers.Analyse("package main\n\nfunc main()\n{\n}\n")
```
In all cases, `nil` will be returned if the langauge can not be identified.
In all cases, `nil` will be returned if the language can not be identified.
```go
if lexer == nil {