Skip to content

Commit

Permalink
patch 8.1.0214: +autochdir feature not reported by has() or :version
Browse files Browse the repository at this point in the history
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 83ec2a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/evalfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ static char *(features[]) =
"-arabic",
#endif
"+autocmd",
#ifdef FEAT_AUTOCHDIR
"+autochdir",
#else
"-autochdir",
#endif
#ifdef FEAT_AUTOSERVERNAME
"+autoservername",
#else
Expand Down Expand Up @@ -793,6 +798,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
214,
/**/
213,
/**/
Expand Down

0 comments on commit 83ec2a7

Please sign in to comment.