Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jul 27, 2018
1 parent 0a08c63 commit 83ec2a7f5fb481b30a5d556b6aad49a62585bccd
Showing with 10 additions and 0 deletions.
  1. +3 −0 src/evalfunc.c
  2. +7 −0 src/version.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
@@ -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,
/**/

0 comments on commit 83ec2a7

Please sign in to comment.