Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moar doesn't syntax highlight json #208

Open
timotheecour opened this issue Apr 30, 2024 · 1 comment
Open

moar doesn't syntax highlight json #208

timotheecour opened this issue Apr 30, 2024 · 1 comment

Comments

@timotheecour
Copy link

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)

@walles
Copy link
Owner

walles commented May 1, 2024

Might be fixed in moar --version v1.23.11, this sounds like what was reported in #202.

Can you do moar --version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants