From 8a24b794b89916c8074892e7b25121a21f1fa9c9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Apr 2016 16:13:10 +0200 Subject: [PATCH] patch 7.4.1808 Problem: Using wrong feature name to check for 'termguicolors'. Solution: Use the right feature name. (Ken Takata) --- runtime/optwin.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 674d962b93..7576cec6d8 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -412,7 +412,7 @@ call append("$", "highlight\twhich highlighting to use for various occasions") call OptionG("hl", &hl) call append("$", "hlsearch\thighlight all matches for the last used search pattern") call BinOptionG("hls", &hls) -if has("termtruecolor") +if has("termguicolors") call append("$", "termguicolors\tuse GUI colors for the terminal") call BinOptionG("tgc", &gcol) endif diff --git a/src/version.c b/src/version.c index f0463d49d3..1fff5c9e9e 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1808, /**/ 1807, /**/