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:
parent
e0c8d4b2dc
commit
273d92c644
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user