diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-27 22:08:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-27 22:08:59 +0200 |
commit | 83ec2a7f5fb481b30a5d556b6aad49a62585bccd (patch) | |
tree | 43adf706996b9e464ee320dcf0330d013f1f27c8 /src | |
parent | 0a08c63da17dfd93ac2885e3f3f8a083a9b3131c (diff) | |
download | vim-git-83ec2a7f5fb481b30a5d556b6aad49a62585bccd.tar.gz |
patch 8.1.0214: +autochdir feature not reported by has() or :versionv8.1.0214
Problem: +autochdir feature not reported by has() or :version.
Solution: Add the feature in the list.
Diffstat (limited to 'src')
-rw-r--r-- | src/evalfunc.c | 3 | ||||
-rw-r--r-- | src/version.c | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index a9f6c5b8a..23cdeb49e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.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 diff --git a/src/version.c b/src/version.c index 830de26fc..087bc63a1 100644 --- a/src/version.c +++ b/src/version.c @@ -101,6 +101,11 @@ static char *(features[]) = "-arabic", #endif "+autocmd", +#ifdef FEAT_AUTOCHDIR + "+autochdir", +#else + "-autochdir", +#endif #ifdef FEAT_AUTOSERVERNAME "+autoservername", #else @@ -794,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 214, +/**/ 213, /**/ 212, |