fix: Diff view now ignores line endings changes/windows autocrlf (#4356)

This commit is contained in:
Luke Parker 2025-11-16 13:18:39 +10:00 • committed by GitHub
commit 35fbb011b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -864,18 +864,21 @@ function generateSyntax(theme: Theme) {
scope: ["diff.plus"],
style: {
foreground: theme.diffAdded,
background: theme.diffAddedBg,
},
},
{
scope: ["diff.minus"],
style: {
foreground: theme.diffRemoved,
background: theme.diffRemovedBg,
},
},
{
scope: ["diff.delta"],
style: {
foreground: theme.diffContext,
background: theme.diffContextBg,
},
},
{