vim-patch:9.0.1506: line number not displayed when using 'smoothscroll' (#23453)

Problem:    Line number not displayed when using 'smoothscroll'.
Solution:   Adjust condition for showing the line number. (closes vim/vim#12333)

88bb3e0a48
This commit is contained in:
zeertzjq
2023-05-03 07:21:09 +08:00
committed by GitHub
parent 9909668111
commit 62ecb05957
5 changed files with 62 additions and 3 deletions

View File

@@ -1325,6 +1325,7 @@ it('win_update redraws lines properly', function()
]]}
end)
-- oldtest: Test_diff_rnu()
it('diff updates line numbers below filler lines', function()
clear()
local screen = Screen.new(40, 14)
@@ -1401,6 +1402,7 @@ it('diff updates line numbers below filler lines', function()
]])
end)
-- oldtest: Test_diff_with_scroll_and_change()
it('Align the filler lines when changing text in diff mode', function()
clear()
local screen = Screen.new(40, 20)