rickhowe / diffchar.vim

Highlight the exact differences, based on characters and words
http://www.vim.org/scripts/script.php?script_id=4932
MIT License
217 stars 10 forks source link

Similar to #17 but only 2 files #20

Closed Rich-YoYo closed 5 years ago

Rich-YoYo commented 5 years ago

Similar to issue #17 but only 2 files involved

How to reproduce;-

I have created two files (hopefully attached) which are basically sanitized versions of real source files I have been working on that provoke this problem. They are quite large, I'm afraid, but I have not been able to reproduce the problem with smaller files.

Using these files, the problem is 100% reproducable using NVIM, but not reproducable using VIM

The folloiwng error appears;-

Error detected while processing function 41_AdjustDiffCharLines[17]..41_SetDiffModeLines: line 106: E684: list index out of range: 0

Hitting 'return' will usually elicit lots of other, similar, errors

I'm not sure if I have seen this issue on vim, rather than nvim, in the past.

a.gz b.gz

rickhowe commented 5 years ago

I can reproduce the problem in vim and found the reason. I will fix it and update soon. Thank you.

rickhowe commented 5 years ago

It is fixed in 8.5.