]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1808 v7.4.1808
authorBram Moolenaar <Bram@vim.org>
Sat, 30 Apr 2016 14:13:10 +0000 (16:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 30 Apr 2016 14:13:10 +0000 (16:13 +0200)
Problem:    Using wrong feature name to check for 'termguicolors'.
Solution:   Use the right feature name. (Ken Takata)

runtime/optwin.vim
src/version.c

index 674d962b93db84bcb837b7a557cd6650176bc5fc..7576cec6d85ef2cf2c331174e97847b229a770de 100644 (file)
@@ -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
index f0463d49d37284436132d605655b10fb8c032820..1fff5c9e9e46244a02feb6ad1123e9adf46bbf27 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1808,
 /**/
     1807,
 /**/