forked from aniani/vim
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
|
||||
"ole",
|
||||
#endif
|
||||
#ifdef FEAT_EVAL
|
||||
"packages",
|
||||
#endif
|
||||
#ifdef FEAT_PATH_EXTRA
|
||||
"path_extra",
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user