diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-03-08 09:46:57 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-08 09:46:57 -0500 |
commit | 890ce792af102abe37f24f9674b5924b79fbfa27 (patch) | |
tree | 2e5f29fd839f0fa07adf5bcccadf2148798c0359 | |
parent | 37b3a4c607a1305ce56e96837e305fd637fde0e8 (diff) | |
parent | 0e15d1cefaab7cfb13dcfd561a56ef48daa9d7f3 (diff) | |
download | rneovim-890ce792af102abe37f24f9674b5924b79fbfa27.tar.gz rneovim-890ce792af102abe37f24f9674b5924b79fbfa27.tar.bz2 rneovim-890ce792af102abe37f24f9674b5924b79fbfa27.zip |
Merge pull request #4356 from watiko/fix-hi-normal-adjast
syntax.c: Avoid the 'background' adjustment when true color enabled
-rw-r--r-- | src/nvim/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |