From 83ec2a7f5fb481b30a5d556b6aad49a62585bccd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 27 Jul 2018 22:08:59 +0200 Subject: [PATCH] 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. --- src/evalfunc.c | 3 +++ src/version.c | 7 +++++++ 2 files changed, 10 insertions(+) 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, /**/ -- 2.47.2