Add ‘eob’ option to fillchars

This option allows configuring what character is shown on the empty
lines at the end of a buffer, previously hardcoded to ‘~’
This commit is contained in:
Jack Bracewell
2017-03-24 16:36:46 +00:00
committed by Björn Linse
parent 463da84806
commit a7bb63c55d
5 changed files with 52 additions and 3 deletions

View File

@@ -3386,6 +3386,7 @@ static char_u *set_chars_option(char_u **varp)
{ &fill_fold, "fold" , 183 }, // ·
{ &fill_diff, "diff" , '-' },
{ &fill_msgsep, "msgsep", ' ' },
{ &fill_eob, "eob", '~' },
};
static struct charstab lcstab[] = {
{ &lcs_eol, "eol", NUL },