Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature]: configure whitespace error highlighting #45

@evanrichter

Description

@evanrichter

Description

git diff on the terminal highlights incorrect whitespace in the terminal. Example:

image

But in gex (tested with 0.5.0 using nix run nixpkgs#gex), this whitespace error isn't shown:

image

Additional Information

The git diff flag to use is --ws-error-highlight, and I think an appropriate value would be new.

wait, should this actually be a bug report?

It seems like running the git command doesn't read my user level git config either, for some reason, even when I set diff.wsErrorHighlight = new

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions