Skip to content

Commit 83ec2a7

Browse files
committed
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.
1 parent 0a08c63 commit 83ec2a7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/evalfunc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6045,6 +6045,9 @@ f_has(typval_T *argvars, typval_T *rettv)
60456045
"arabic",
60466046
#endif
60476047
"autocmd",
6048+
#ifdef FEAT_AUTOCHDIR
6049+
"autochdir",
6050+
#endif
60486051
#ifdef FEAT_AUTOSERVERNAME
60496052
"autoservername",
60506053
#endif

src/version.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ static char *(features[]) =
101101
"-arabic",
102102
#endif
103103
"+autocmd",
104+
#ifdef FEAT_AUTOCHDIR
105+
"+autochdir",
106+
#else
107+
"-autochdir",
108+
#endif
104109
#ifdef FEAT_AUTOSERVERNAME
105110
"+autoservername",
106111
#else
@@ -793,6 +798,8 @@ static char *(features[]) =
793798

794799
static int included_patches[] =
795800
{ /* Add new patch number below this line */
801+
/**/
802+
214,
796803
/**/
797804
213,
798805
/**/

0 commit comments

Comments
 (0)