Merge pull request #4356 from watiko/fix-hi-normal-adjast

syntax.c: Avoid the 'background' adjustment when true color enabled
This commit is contained in:
Justin M. Keyes 2016-03-08 09:46:57 -05:00
commit 890ce792af

View File

@ -6395,7 +6395,7 @@ do_highlight (
HL_TABLE()[idx].sg_cterm_bg = color + 1; HL_TABLE()[idx].sg_cterm_bg = color + 1;
if (is_normal_group) { if (is_normal_group) {
cterm_normal_bg_color = color + 1; cterm_normal_bg_color = color + 1;
{ if (!ui_rgb_attached()) {
must_redraw = CLEAR; must_redraw = CLEAR;
if (color >= 0) { if (color >= 0) {
if (t_colors < 16) if (t_colors < 16)