0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1808

Problem:    Using wrong feature name to check for 'termguicolors'.
Solution:   Use the right feature name. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-04-30 16:13:10 +02:00
parent d75263c020
commit 8a24b794b8
2 changed files with 3 additions and 1 deletions

View File

@@ -412,7 +412,7 @@ call append("$", "highlight\twhich highlighting to use for various occasions")
call <SID>OptionG("hl", &hl) call <SID>OptionG("hl", &hl)
call append("$", "hlsearch\thighlight all matches for the last used search pattern") call append("$", "hlsearch\thighlight all matches for the last used search pattern")
call <SID>BinOptionG("hls", &hls) call <SID>BinOptionG("hls", &hls)
if has("termtruecolor") if has("termguicolors")
call append("$", "termguicolors\tuse GUI colors for the terminal") call append("$", "termguicolors\tuse GUI colors for the terminal")
call <SID>BinOptionG("tgc", &gcol) call <SID>BinOptionG("tgc", &gcol)
endif endif

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1808,
/**/ /**/
1807, 1807,
/**/ /**/