From: Bram Moolenaar Date: Fri, 27 Jul 2018 20:08:59 +0000 (+0200) Subject: patch 8.1.0214: +autochdir feature not reported by has() or :version X-Git-Tag: v8.1.0214 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=83ec2a7f5fb481b30a5d556b6aad49a62585bccd;p=thirdparty%2Fvim.git 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 index a9f6c5b8a6..23cdeb49ee 100644 --- 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 index 830de26fcf..087bc63a11 100644 --- 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 @@ -793,6 +798,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 214, /**/ 213, /**/