mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 18:58:18 +00:00
fix(screen): do not draw filler lines post eof if already at last row
This commit is contained in:
@@ -1692,7 +1692,7 @@ static void win_update(win_T *wp, Providers *providers)
|
||||
if (eof) { // we hit the end of the file
|
||||
wp->w_botline = buf->b_ml.ml_line_count + 1;
|
||||
j = win_get_fill(wp, wp->w_botline);
|
||||
if (j > 0 && !wp->w_botfill) {
|
||||
if (j > 0 && !wp->w_botfill && row < wp->w_grid.Rows) {
|
||||
// Display filler text below last line. win_line() will check
|
||||
// for ml_line_count+1 and only draw filler lines
|
||||
foldinfo_T info = FOLDINFO_INIT;
|
||||
|
Reference in New Issue
Block a user