vim-patch:8.0.0142 (#7335)

see also #7082

Problem:    Normal colors are wrong with 'termguicolors'.
Solution:   Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes vim/vim#1344)

0cdb72aa38
This commit is contained in:
KunMing Xie 2017-10-07 23:20:34 +08:00 committed by Justin M. Keyes
parent c0e45d97b0
commit e3ca1e6046
2 changed files with 1 additions and 3 deletions

View File

@ -6847,8 +6847,6 @@ int hl_combine_attr(int char_attr, int prim_attr)
if (char_aep != NULL) {
// Copy all attributes from char_aep to the new entry
new_en = *char_aep;
} else {
memset(&new_en, 0, sizeof(new_en));
}
spell_aep = syn_cterm_attr2entry(prim_attr);

View File

@ -961,7 +961,7 @@ static const int included_patches[] = {
// 145 NA
// 144 NA
143,
// 142,
142,
// 141,
// 140,
// 139 NA