[vim] 126/139: patch 7.4.1808 Problem: Using wrong feature name to check for 'termguicolors'. Solution: Use the right feature name. (Ken Takata)
James McCoy
jamessan at debian.org
Fri May 6 04:00:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit 8a24b794b89916c8074892e7b25121a21f1fa9c9
Author: Bram Moolenaar <Bram at vim.org>
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)
---
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 674d962..7576cec 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 f0463d4..1fff5c9 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,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list