aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawscreen.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-26 08:25:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-26 10:14:59 +0800
commitfa1c761d62667c28e4d3a81f379abeddb878f3cd (patch)
tree49b4a1025bed19a5948b7afefe300a4aabd0842e /src/nvim/drawscreen.c
parent1ba3d5c712dcc2e2ee35c6bc27d9965f671f967a (diff)
downloadrneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.tar.gz
rneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.tar.bz2
rneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.zip
vim-patch:9.0.0036: 'fillchars' cannot have window-local values
Problem: 'fillchars' cannot have window-local values. Solution: Make 'fillchars' global-local. (closes vim/vim#5206) https://github.com/vim/vim/commit/96ba25ac01279f73c0ecb5d4aa4ff37aa359e5eb Cherry-pick g:run_nr from patch 8.2.0454. N/A patches for version.c: vim-patch:9.0.0037: build error Problem: Build error. Solution: Add missing change. https://github.com/vim/vim/commit/510f03738dfcadfe2099c5b6a58cb75f64dbaa82
Diffstat (limited to 'src/nvim/drawscreen.c')
-rw-r--r--src/nvim/drawscreen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/drawscreen.c b/src/nvim/drawscreen.c
index 012c4ecb19..cf8178a30f 100644
--- a/src/nvim/drawscreen.c
+++ b/src/nvim/drawscreen.c
@@ -1920,8 +1920,9 @@ win_update_start:
wp->w_botline = lnum;
}
- // make sure the rest of the screen is blank
- // write the 'eob' character to rows that aren't part of the file.
+ // Make sure the rest of the screen is blank.
+ // write the "eob" character from 'fillchars' to rows that aren't part
+ // of the file.
win_draw_end(wp, wp->w_p_fcs_chars.eob, ' ', false, row, wp->w_grid.rows,
HLF_EOB);
}