Skip to content

Syntax highlighting in diff #123

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

samisalreadytaken
Copy link
Contributor

@samisalreadytaken samisalreadytaken commented Dec 3, 2023

The first commit renames diff colours to their matching functionality instead of vague DiffRed, DiffGreen names. This makes editing them simpler. Though half of them were unused, maybe I'm misunderstanding their purpose.

The second commit enables syntax highlighting on diff lines. This was previously mentioned here where it was removed. I would agree that the syntax highlighting should be preserved. See image for the difference:

diff_256_c3

@samisalreadytaken samisalreadytaken changed the title Diff colours Syntax highlighting in diff Dec 13, 2024
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.

1 participant