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

Fix highlighting of diff file/date lines #846

Closed
wants to merge 1 commit into from
Closed

Fix highlighting of diff file/date lines #846

wants to merge 1 commit into from

Conversation

Alex-Richman
Copy link

  • Fix the existing regex for the '---' lines
  • Add regex for '+++' lines
  • Make both highlight as Generic::Heading rather than text

- Fix the existing regex for the '---' lines
- Add regex for '+++' lines
- Make both highlight as Generic::Heading rather than text
@Alex-Richman
Copy link
Author

Some examples of the issue here: https://gitlab.com/gitlab-org/gitlab-ce/issues/22962

NB: I haven't tested this and have never written a line of ruby before now ;)

vidarh added a commit to vidarh/rouge that referenced this pull request Jan 18, 2019
Close rouge-ruby#846 as it conflicts and this commit differentiates further.
pyrmont pushed a commit to pyrmont/rouge that referenced this pull request May 17, 2019
This fixes rouge-ruby#1022. It also close rouge-ruby#846 as that PR is incompatible with
this one.
pyrmont pushed a commit that referenced this pull request May 28, 2019
This commit adds support for non-unified diffs. it fixes #846 and #1022.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant