Describe the bug
In a .diff or .patch file, tab stops within the text appear off-by-one
To Reproduce
Open a .diff or .patch file that uses tabs. Because diff inserts a new column at character position 1, for the '+', '-' and ' ' characters, tab stops in the rest of the content show up wrong
Expected behavior
In a .diff or .patch files, tab stops should start in column 2 instead of column 1. So instead of having tab stops in columns 1, 8, 16, 24, 32..., they should be in columns 2, 9, 17, 25, 33...
Environment (please complete the following information):
Additional context
Only affects .diff and .patch files
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
I think you can do this with ":set vartabstop=1,8".
It's not that easy, some diff files have a two character margin. We could perhaps detect that.
Closed #8366.