1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 12:15:43 +03:00

"None" is the proper fallback

"None" is documented as "No highlighting".
This commit is contained in:
Johan Walles 2023-10-12 07:00:39 +02:00
parent e0c8d4b2dc
commit 273d92c644

View File

@ -450,7 +450,7 @@ func (p *Pager) initStyle() {
stringBuilder := strings.Builder{}
err := (*p.ChromaFormatter).Format(&stringBuilder, p.ChromaStyle, chroma.Literator(chroma.Token{
Type: chroma.Other,
Type: chroma.None,
Value: "XXX",
}))
if err != nil {