Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Select lexer with --filename argument (alecthomas#77)
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
- Loading branch information