diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-30 16:13:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-30 16:13:10 +0200 |
commit | 8a24b794b89916c8074892e7b25121a21f1fa9c9 (patch) | |
tree | 04382e2b2686812e7cacda55d6eb9cf7d2c43b3e | |
parent | d75263c020a5044fa73bc8cd57ce73ca5e23b360 (diff) |
patch 7.4.1808v7.4.1808
Problem: Using wrong feature name to check for 'termguicolors'.
Solution: Use the right feature name. (Ken Takata)
-rw-r--r-- | runtime/optwin.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 <SID>OptionG("hl", &hl) call append("$", "hlsearch\thighlight all matches for the last used search pattern") call <SID>BinOptionG("hls", &hls) -if has("termtruecolor") +if has("termguicolors") call append("$", "termguicolors\tuse GUI colors for the terminal") call <SID>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 @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1808, +/**/ 1807, /**/ 1806, |