vim-patch:8.2.1211: removed more than dead code

Problem:    Removed more than dead code.
Solution:   Put back the decrement.
8455c5ed31

N/A patch for version.c:

vim-patch:8.2.1118: condition can never be true, dead code

Problem:    Condition can never be true, dead code.
Solution:   Remove the dead code.
810af5ea46

vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode

Problem:    MS-Windows: default _vimrc not correct in silent install mode.
Solution:   Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451)
ceb56ddbaf

vim-patch:8.2.1215: Atari MiNT support is outdated

Problem:    Atari MiNT support is outdated.
Solution:   Nobody responded this code is still useful, so let's delete it.
e3f915d12c
This commit is contained in:
Jan Edmund Lazo 2020-07-14 19:43:09 -04:00
parent e16f2cbd12
commit bb1f06fa82
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -800,3 +800,25 @@ func Test_diff_closeoff()
diffoff!
enew!
endfunc
func Test_diff_and_scroll()
" this was causing an ml_get error
set ls=2
for i in range(winheight(0) * 2)
call setline(i, i < winheight(0) - 10 ? i : i + 10)
endfor
vnew
for i in range(winheight(0)*2 + 10)
call setline(i, i < winheight(0) - 10 ? 0 : i)
endfor
diffthis
wincmd p
diffthis
execute 'normal ' . winheight(0) . "\<C-d>"
bwipe!
bwipe!
set ls&
endfunc
" vim: shiftwidth=2 sts=2 expandtab