From 0e15d1cefaab7cfb13dcfd561a56ef48daa9d7f3 Mon Sep 17 00:00:00 2001 From: watiko Date: Tue, 1 Mar 2016 06:15:42 +0900 Subject: syntax.c: Avoid the 'background' adjustment when true color enabled --- src/nvim/syntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 04e28cf5ca..26f0a6c94b 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -6395,7 +6395,7 @@ do_highlight ( HL_TABLE()[idx].sg_cterm_bg = color + 1; if (is_normal_group) { cterm_normal_bg_color = color + 1; - { + if (!ui_rgb_attached()) { must_redraw = CLEAR; if (color >= 0) { if (t_colors < 16) -- cgit