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

Add lexer for git range-diff "dual-color" output #2104

Open
phil-blain opened this issue Jan 24, 2025 · 0 comments
Open

Add lexer for git range-diff "dual-color" output #2104

phil-blain opened this issue Jan 24, 2025 · 0 comments
Labels
lexer-request A request for a lexer to be developed.

Comments

@phil-blain
Copy link

Please note: New lexers are contributed to Rouge from the community. Your request will help the community in developing a lexer but it does not mean that anyone will develop the lexer.

The name of the language

git range-diff: https://git-scm.com/docs/git-range-diff, specifically the "dual-color" output: https://git-scm.com/docs/git-range-diff#_options.

Implementation in other libraries

None that I know of.

Additional context
Since Rouge is used on both GitLab and GitHub as far as I know, this lexer would be quite useful to compare iterations of a branch in the context of a merge request / pull request.

@phil-blain phil-blain added the lexer-request A request for a lexer to be developed. label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lexer-request A request for a lexer to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant