You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that delta always inserts a blank line before a file or hunk header.
Plain git diff
delta
Note the two blank lines marked with a red arrow before hunk headers and one blank line marked with a blue arrow before file header.
Is there a configuration to remove the empty lines? Especially when not using line numbers, the output can be very confusing (and unnecessarily verbose). There is no way to tell if the blank line is actually part of the source code, or inserted later on for formatting only purposes.
I tried using file-decoration-style = omit and hunk-header-decoration-style = omit but that also won't remove it.
The text was updated successfully, but these errors were encountered:
Hi @friederbluemle, I don't think there's an option for this yet, but we're open to design suggestions and PRs. (#1517 is a request for the same, maybe you could copy your screenshots there and we could unify the issues).
It seems that delta always inserts a blank line before a file or hunk header.
Plain git diff
delta
Note the two blank lines marked with a red arrow before hunk headers and one blank line marked with a blue arrow before file header.
Is there a configuration to remove the empty lines? Especially when not using line numbers, the output can be very confusing (and unnecessarily verbose). There is no way to tell if the blank line is actually part of the source code, or inserted later on for formatting only purposes.
I tried using
file-decoration-style = omit
andhunk-header-decoration-style = omit
but that also won't remove it.The text was updated successfully, but these errors were encountered: