'fillchars': fix defaults logic; handle ambiwidth=double #7986

Update tests.
This commit is contained in:
Matthieu Coudron
2018-02-09 08:44:24 +09:00
committed by Justin M. Keyes
parent 0c930c2969
commit 384a39479a
13 changed files with 305 additions and 261 deletions

View File

@@ -7088,11 +7088,7 @@ static int fillchar_status(int *attr, win_T *wp)
static int fillchar_vsep(win_T *wp, int *attr)
{
*attr = win_hl_attr(wp, HLF_C);
if (*attr == 0 && fill_vert == ' ') {
return 9474; // default: "│"
} else {
return fill_vert;
}
return fill_vert;
}
/*