diff src/eval.c @ 9027:773d627cac0b v7.4.1799

commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 29 22:59:22 2016 +0200 patch 7.4.1799 Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Apr 2016 23:00:07 +0200
parents d5c6f1c5cd28
children 3a6b66c02d6d
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -14042,15 +14042,15 @@ f_has(typval_T *argvars, typval_T *rettv
 	"tcl",
 # endif
 #endif
+#ifdef FEAT_TERMGUICOLORS
+	"termguicolors",
+#endif
 #ifdef TERMINFO
 	"terminfo",
 #endif
 #ifdef FEAT_TERMRESPONSE
 	"termresponse",
 #endif
-#ifdef FEAT_TERMTRUECOLOR
-	"termtruecolor",
-#endif
 #ifdef FEAT_TEXTOBJ
 	"textobjects",
 #endif
@@ -20019,7 +20019,7 @@ f_synIDattr(typval_T *argvars UNUSED, ty
     }
     else
     {
-#if defined(FEAT_GUI) || defined(FEAT_TERMTRUECOLOR)
+#if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
 	if (USE_24BIT)
 	    modec = 'g';
 	else