moar
moar copied to clipboard
moar doesn't syntax highlight json
moar doesn't syntax highlight json
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
chroma foo.json
works
cat foo.json|chroma
works
cat foo.json|chroma --lexer=json
works
moar 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)