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 /runtime | |
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)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/optwin.vim | 2 |
1 files changed, 1 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 |