summaryrefslogtreecommitdiff
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-30 16:13:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-30 16:13:10 +0200
commit8a24b794b89916c8074892e7b25121a21f1fa9c9 (patch)
tree04382e2b2686812e7cacda55d6eb9cf7d2c43b3e /runtime/optwin.vim
parentd75263c020a5044fa73bc8cd57ce73ca5e23b360 (diff)
downloadvim-git-8a24b794b89916c8074892e7b25121a21f1fa9c9.tar.gz
patch 7.4.1808v7.4.1808
Problem: Using wrong feature name to check for 'termguicolors'. Solution: Use the right feature name. (Ken Takata)
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 674d962b9..7576cec6d 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