summaryrefslogtreecommitdiffstats
path: root/src/gui.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-27 14:39:03 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-27 14:39:03 +0100
commitd4fc577e60d325777d38c00bd78fb9a32c7b1dfa (patch)
tree7156c1f7434e133399395ef9f6b98aed3819cd74 /src/gui.h
parent33ef5bb0e4ea9a049c4311cfe59d1926dcb963a4 (diff)
patch 8.0.1544: when using 'termguicolors' SpellBad doesn't showv8.0.1544
Problem: When using 'termguicolors' SpellBad doesn't show. Solution: When the GUI colors are not set fall back to the cterm colors.
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.h b/src/gui.h
index cca1ee35a5..b63125b9b4 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -207,6 +207,8 @@ typedef long guicolor_T; /* handle for a GUI color; for X11 this should
#define INVALCOLOR (guicolor_T)-11111 /* number for invalid color; on 32 bit
displays there is a tiny chance this is an
actual color */
+#define CTERMCOLOR (guicolor_T)-11110 /* only used for cterm.bg_rgb and
+ cterm.fg_rgb: use cterm color */
#ifdef FEAT_GUI_GTK
typedef PangoFontDescription *GuiFont; /* handle for a GUI font */