0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2018-07-27 22:08:59 +02:00
parent 0a08c63da1
commit 83ec2a7f5f
2 changed files with 10 additions and 0 deletions

View File

@ -6045,6 +6045,9 @@ f_has(typval_T *argvars, typval_T *rettv)
"arabic", "arabic",
#endif #endif
"autocmd", "autocmd",
#ifdef FEAT_AUTOCHDIR
"autochdir",
#endif
#ifdef FEAT_AUTOSERVERNAME #ifdef FEAT_AUTOSERVERNAME
"autoservername", "autoservername",
#endif #endif

View File

@ -101,6 +101,11 @@ static char *(features[]) =
"-arabic", "-arabic",
#endif #endif
"+autocmd", "+autocmd",
#ifdef FEAT_AUTOCHDIR
"+autochdir",
#else
"-autochdir",
#endif
#ifdef FEAT_AUTOSERVERNAME #ifdef FEAT_AUTOSERVERNAME
"+autoservername", "+autoservername",
#else #else
@ -793,6 +798,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
214,
/**/ /**/
213, 213,
/**/ /**/