Back to Broot

README

resources/syntect/README.md

1.56.2770 B
Original Source

Broot uses syntect for syntax highlighting in text files.

This (excellent) library needs Sublime Text syntax definitions for all languages (when a language definition isn't found, Broot displays the text monochrome).

Syntect doesn't come with an extensive set of definitions.

The bat project maintains with care an important list of such definitions (most as submodules, some with patches).

It's the best public list I found, so I've included the resulting syntax set here as syntaxes.bin.

You may replace this file with your own, building it with Syntect's syntect::dumps::dump_to_uncompressed_file function.