Closed timotheecour closed 4 months ago
I thought moar was using chroma to syntax highlight but: moar foo.json doesn't syntax highlight cat foo.json|moar --lang json doesn't syntax highlight
moar foo.json
cat foo.json|moar --lang json
chroma foo.json works cat foo.json|chroma works cat foo.json|chroma --lexer=json works
chroma foo.json
cat foo.json|chroma
cat foo.json|chroma --lexer=json
even if it's simply outputting the contents of chroma --list (so long that is what it uses, although json bug above casts some doubts)
chroma --list
Might be fixed in moar --version v1.23.11, this sounds like what was reported in #202.
moar --version
v1.23.11
Can you do moar --version?
Assuming this was fixed together with #202.
moar doesn't syntax highlight json
I thought moar was using chroma to syntax highlight but:
moar foo.json
doesn't syntax highlightcat foo.json|moar --lang json
doesn't syntax highlightchroma foo.json
workscat foo.json|chroma
workscat foo.json|chroma --lexer=json
worksmoar should have a command line option to show what it can syntax highlight
even if it's simply outputting the contents of
chroma --list
(so long that is what it uses, although json bug above casts some doubts)