Skip to content

Diff lines should preserve foreground colors #173

@jerryyin

Description

@jerryyin

Description

Right now diff lines:

  • Only have solid background color
  • Does not have foreground color so syntax highlighting is off

This is so that lines retain their syntax highlighting in the diff mode, while the backgrounds are highlighted.

Example

To illustrate the point, solarized color scheme allow diff mode preserve the foreground color while having non-eye-popping color from background, gruvbox should be able to do it too.

image

For solarized implementation refer to this commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions