-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change bg color of whitespace-only hunks
With the default color-words diff formatting, if a diff hunk (a sequence of removed and/or added characters) consists only of whitespace characters, it will not be visible on a terminal because the default configuration only changes their foreground color (which has no effect because all these characters are whitespace). Therefore, change the background color of these diff hunks. The user may further customize their appearance by configuring the "removed whitespace" and "added whitespace" formats.
- Loading branch information
1 parent
a6d470d
commit 524f67e
Showing
4 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters