[vim/vim] Diff mode fails to highlight this difference (#1186)

34 views
Skip to first unread message

esiegerman

unread,
Oct 20, 2016, 1:51:02 PM10/20/16
to vim/vim

(Tested with vim 8.0.42.)

vimdiff these three files (there are no whitespace differences):

file-1:

111 aaa
111 bbb

file-2:

111 aaa
222 bbb

file-3:

222 aaa
111 bbb

The highlighting is wrong -- vim doesn't show the difference in the second line:
diffbug

If you swap the lines in file-3, again the second (screen) line doesn't have its difference highlighted:
diffbug2

Note that (after restoring the original version of file-3), if you swap the lines in either of the other two files, vimdiff shows correct results. With file-1's lines swapped:
diffbug3

With file-2's lines swapped:
diffbug4


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Bram Moolenaar

unread,
Oct 21, 2016, 4:08:18 PM10/21/16
to vim/vim

I can reproduce this.

Christian Brabandt

unread,
Nov 10, 2024, 3:44:06 PM11/10/24
to vim/vim, Subscribed

Closed #1186 as not planned.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/1186/issue_event/15242002162@github.com>

Christian Brabandt

unread,
Nov 10, 2024, 3:44:06 PM11/10/24
to vim/vim, Subscribed

this seems resolved in the meantime.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/1186/2466910830@github.com>

Reply all
Reply to author
Forward
0 new messages