# HG changeset patch # User Christian Brabandt # Date 1462025705 -7200 # Node ID 057fb9d0191b7009a5754db4913b9aa365ab2f1b # Parent b905ef2c6adb0c816ccf533bb19e831e9ce061c7 commit https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9 Author: Bram Moolenaar Date: Sat Apr 30 16:13:10 2016 +0200 patch 7.4.1808 Problem: Using wrong feature name to check for 'termguicolors'. Solution: Use the right feature name. (Ken Takata) diff --git a/runtime/optwin.vim b/runtime/optwin.vim --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -412,7 +412,7 @@ call append("$", "highlight\twhich highl 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 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1808, +/**/ 1807, /**/ 1806,