mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
c0e45d97b0
commit
e3ca1e6046
@ -6847,8 +6847,6 @@ int hl_combine_attr(int char_attr, int prim_attr)
|
|||||||
if (char_aep != NULL) {
|
if (char_aep != NULL) {
|
||||||
// Copy all attributes from char_aep to the new entry
|
// Copy all attributes from char_aep to the new entry
|
||||||
new_en = *char_aep;
|
new_en = *char_aep;
|
||||||
} else {
|
|
||||||
memset(&new_en, 0, sizeof(new_en));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
spell_aep = syn_cterm_attr2entry(prim_attr);
|
spell_aep = syn_cterm_attr2entry(prim_attr);
|
||||||
|
@ -961,7 +961,7 @@ static const int included_patches[] = {
|
|||||||
// 145 NA
|
// 145 NA
|
||||||
// 144 NA
|
// 144 NA
|
||||||
143,
|
143,
|
||||||
// 142,
|
142,
|
||||||
// 141,
|
// 141,
|
||||||
// 140,
|
// 140,
|
||||||
// 139 NA
|
// 139 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user