]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.0214: +autochdir feature not reported by has() or :version v8.1.0214
authorBram Moolenaar <Bram@vim.org>
Fri, 27 Jul 2018 20:08:59 +0000 (22:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 27 Jul 2018 20:08:59 +0000 (22:08 +0200)
Problem:    +autochdir feature not reported by has() or :version.
Solution:   Add the feature in the list.

src/evalfunc.c
src/version.c

index a9f6c5b8a6ee1cbe09235682d041dd80f4224a85..23cdeb49ee930a7937faba340e6653c624f81a8e 100644 (file)
@@ -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
index 830de26fcf9069c596c21583c1423b24058f07c8..087bc63a11d0f9925d4d2d66a6410923175cc783 100644 (file)
@@ -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,
 /**/