mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.1.0202: :version always shows +packages
Problem: :version always shows +packages. (Takuya Fujiwara) Solution: Add #ifdef (closes #3198) Also for has().
This commit is contained in:
@@ -6302,7 +6302,9 @@ f_has(typval_T *argvars, typval_T *rettv)
|
|||||||
#ifdef FEAT_OLE
|
#ifdef FEAT_OLE
|
||||||
"ole",
|
"ole",
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
"packages",
|
"packages",
|
||||||
|
#endif
|
||||||
#ifdef FEAT_PATH_EXTRA
|
#ifdef FEAT_PATH_EXTRA
|
||||||
"path_extra",
|
"path_extra",
|
||||||
#endif
|
#endif
|
||||||
|
@@ -493,7 +493,11 @@ static char *(features[]) =
|
|||||||
"-ole",
|
"-ole",
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
"+packages",
|
"+packages",
|
||||||
|
#else
|
||||||
|
"-packages",
|
||||||
|
#endif
|
||||||
#ifdef FEAT_PATH_EXTRA
|
#ifdef FEAT_PATH_EXTRA
|
||||||
"+path_extra",
|
"+path_extra",
|
||||||
#else
|
#else
|
||||||
@@ -789,6 +793,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
202,
|
||||||
/**/
|
/**/
|
||||||
201,
|
201,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user