moar icon indicating copy to clipboard operation
moar copied to clipboard

moar doesn't syntax highlight json

Open timotheecour opened this issue 2 months ago • 1 comments

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)

timotheecour avatar Apr 30 '24 22:04 timotheecour