# HG changeset patch # User Christian Brabandt # Date 1532722505 -7200 # Node ID e7d1bc5ee3b8b3a4ef43ac95ea110bd64e0db78c # Parent dee1d0b8e11a650acebacf352cbfed7d865bb749 patch 8.1.0214: +autochdir feature not reported by has() or :version commit https://github.com/vim/vim/commit/83ec2a7f5fb481b30a5d556b6aad49a62585bccd Author: Bram Moolenaar Date: Fri Jul 27 22:08:59 2018 +0200 patch 8.1.0214: +autochdir feature not reported by has() or :version Problem: +autochdir feature not reported by has() or :version. Solution: Add the feature in the list. diff --git a/src/evalfunc.c b/src/evalfunc.c --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6045,6 +6045,9 @@ f_has(typval_T *argvars, typval_T *rettv "arabic", #endif "autocmd", +#ifdef FEAT_AUTOCHDIR + "autochdir", +#endif #ifdef FEAT_AUTOSERVERNAME "autoservername", #endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -101,6 +101,11 @@ static char *(features[]) = "-arabic", #endif "+autocmd", +#ifdef FEAT_AUTOCHDIR + "+autochdir", +#else + "-autochdir", +#endif #ifdef FEAT_AUTOSERVERNAME "+autoservername", #else @@ -794,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 214, +/**/ 213, /**/ 212,