delta
delta copied to clipboard
🚀 Warn for blank at eof (Question)
Hi,
While working on #1037 I noticed this comments:
// TODO: Git recognizes blank lines at end of file (blank-at-eof)
// as a whitespace error but delta does not yet.
// https://git-scm.com/docs/git-config#Documentation/git-config.txt-corewhitespace
I have a local working version for detecting theses lines, the only remaining issue is: How should we display such line ?
- Do you want to stop everything to print a error ?
- Do you want to print a specific graphical char ? (I am thinking of zsh with it's reversed
%: