diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-04 14:36:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-04 14:36:29 +0100 |
commit | 4ba5f1dab656103e8f4a4505452d1816b9e83c1e (patch) | |
tree | 9485d33fa43b47acb7dcd42e5b4d17f7f152fdee /src/screen.c | |
parent | 2f7e1b8b40dbc97752b8b816560f752f16e0207a (diff) | |
download | vim-git-4ba5f1dab656103e8f4a4505452d1816b9e83c1e.tar.gz |
patch 9.0.0656: cannot specify another character to use instead of '@'v9.0.0656
Problem: Cannot specify another character to use instead of '@' at the end
of the window.
Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264,
closes #10963)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index ebb5ffced..e5fd4bf0d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2511,7 +2511,7 @@ screen_fill( else force_next = FALSE; } -#endif +#endif // FEAT_GUI || defined(UNIX) ScreenLines[off] = c; if (enc_utf8) { @@ -4943,6 +4943,7 @@ set_chars_option(win_T *wp, char_u **varp, int apply) {&fill_chars.foldsep, "foldsep"}, {&fill_chars.diff, "diff"}, {&fill_chars.eob, "eob"}, + {&fill_chars.lastline, "lastline"}, }; static lcs_chars_T lcs_chars; @@ -5022,6 +5023,7 @@ set_chars_option(win_T *wp, char_u **varp, int apply) fill_chars.foldsep = '|'; fill_chars.diff = '-'; fill_chars.eob = '~'; + fill_chars.lastline = '@'; } } p = value; |