Re:Can I use a non-monospaced font in either Vim or gVim?
by wruza on Saturday August 04, 2018 @04:18AM
(#17685921)
VCS diffs are broken by design (in a sense of this subthread). Remove a single “if” around a block of code, reindent it, and now you got all lines changed. I wish VCS had special modes for source code that would compare lextoken-wise and show only what actually changed, leaving formatting to personal tastes. Yeah, no more style wars: tab/space, space/newline/none, trailing comma – all become irrelevant. Sigh.
Edit: a worst nightmare is a diff that removed “if” and also fixed a mistype in one of 20 reindented lines.
Edit: a worst nightmare is a diff that removed “if” and also fixed a mistype in one of 20 reindented lines.