changeset 14399:e7d1bc5ee3b8 v8.1.0214

patch 8.1.0214: +autochdir feature not reported by has() or :version commit https://github.com/vim/vim/commit/83ec2a7f5fb481b30a5d556b6aad49a62585bccd Author: Bram Moolenaar <Bram@vim.org> 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.
author Christian Brabandt <cb@256bit.org>
date Fri, 27 Jul 2018 22:15:05 +0200
parents dee1d0b8e11a
children 49e528d247d9
files src/evalfunc.c src/version.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,