forked from aniani/vim
patch 8.0.1544: when using 'termguicolors' SpellBad doesn't show
Problem: When using 'termguicolors' SpellBad doesn't show. Solution: When the GUI colors are not set fall back to the cterm colors.
This commit is contained in:
@@ -101,7 +101,10 @@ typedef struct {
|
||||
# endif
|
||||
# define guicolor_T long
|
||||
# define INVALCOLOR ((guicolor_T)0x1ffffff)
|
||||
/* only used for cterm.bg_rgb and cterm.fg_rgb: use cterm color */
|
||||
# define CTERMCOLOR ((guicolor_T)0x1fffffe)
|
||||
#endif
|
||||
#define COLOR_INVALID(x) ((x) == INVALCOLOR || (x) == CTERMCOLOR)
|
||||
|
||||
/*
|
||||
* marks: positions in a file
|
||||
|
Reference in New Issue
Block a user