aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-03-08 09:46:57 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-03-08 09:46:57 -0500
commit890ce792af102abe37f24f9674b5924b79fbfa27 (patch)
tree2e5f29fd839f0fa07adf5bcccadf2148798c0359
parent37b3a4c607a1305ce56e96837e305fd637fde0e8 (diff)
parent0e15d1cefaab7cfb13dcfd561a56ef48daa9d7f3 (diff)
downloadrneovim-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.c2
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)