sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
48.65k stars 1.23k forks source link

Support JSON, CSON, and XML/Plist grammar formats #2312

Open Alhadis opened 2 years ago

Alhadis commented 2 years ago

These formats are used by Atom, VS Code and TextMate, and many high-quality grammars are written in these flavours (though I recall reading that Sublime supports these formats too).

Rationale: I've written hundreds of TextMate-compatible grammars, but they're all in CSON format. Most of them were written for use on GitHub. I'd kill to see my highlighting work faithfully reproduced by my terminal.

mmdbalkhi commented 2 years ago

Hi @Alhadis, I checked now and they are supported (syntax-highlighting) of course if you mean grammar format.

image

keith-hall commented 1 year ago

The upstream issue for this feature request is https://github.com/trishume/syntect/issues/418