Mercurial > vim
diff src/screen.c @ 23932:4549133c1e77 v8.2.2508
patch 8.2.2508: cannot change the character displayed in non existing lines
Commit: https://github.com/vim/vim/commit/a98f8a230596d8fb44cc68321de72980a21428cb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 13 18:24:23 2021 +0100
patch 8.2.2508: cannot change the character displayed in non existing lines
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes https://github.com/vim/vim/issues/7832, closes https://github.com/vim/vim/issues/3820)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Feb 2021 18:30:03 +0100 |
parents | 0bd44e94dd14 |
children | 44be09b25619 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -4765,6 +4765,7 @@ set_chars_option(char_u **varp) {&fill_vert, "vert"}, {&fill_fold, "fold"}, {&fill_diff, "diff"}, + {&fill_eob, "eob"}, }; static struct charstab lcstab[] = { @@ -4812,7 +4813,10 @@ set_chars_option(char_u **varp) lcs_tab3 = NUL; } else + { fill_diff = '-'; + fill_eob = '~'; + } } p = *varp; while (*p)