mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-27 21:49:13 +02:00
cgit's syntax highlighting filter pipes to STDIN and provides the filename in argv; the analyzer often fails but we have access to the original filename, so we add an optional argument to specify the filename to use for matching a lexer when reading from STDIN; when [files...] are provided to chroma this is completely ignored