syntax: foo=NONE clears hi group

Closes #4767
This commit is contained in:
AdnoC
2016-05-20 17:44:33 -04:00
committed by Justin M. Keyes
parent 8e20ba9fbd
commit 1f4af4c86e

View File

@@ -6972,6 +6972,9 @@ set_hl_attr (
|| at_en.rgb_sp_color != -1 || at_en.cterm_ae_attr != 0
|| at_en.rgb_ae_attr != 0) {
sgp->sg_attr = get_attr_entry(&at_en);
} else {
// If all the fields are cleared, clear the attr field back to default value
sgp->sg_attr = 0;
}
}