News for hackers. Stuff that matters.
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.

Re:Can I use a non-monospaced font in either Vim or gVim? by jobigoud on Saturday August 04, 2018 @10:00AM (#17686866)
You can do "ignore spaces" in your diff of choice to fix this shortcoming.
Re:Can I use a non-monospaced font in either Vim or gVim? by wruza on Saturday August 04, 2018 @10:32AM (#17686980)
Omg. Thanks for pointing that out, I can’t believe that I missed this option in svn manual for so many years. Such a shame...