Skip to content

Commit 45f51ee

Browse files
committed
Add a comment
1 parent f9cb9f1 commit 45f51ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/scrollview.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,7 @@ local get_row_length_lookup = function(winid)
14301430
prior = nil
14311431
steps = 0
14321432
local winheight = get_window_height(0)
1433+
-- It may not be possible to get to every winline (e.g., virtual lines).
14331434
while fn.winline() <= winheight
14341435
and prior ~= fn.winline()
14351436
and steps < max_steps do

0 commit comments

Comments
 (0)