diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-29 20:49:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-29 20:49:05 +0200 |
commit | 8b9abfd86c736ed3f298dfa8b50a962c118b3983 (patch) | |
tree | 65874e39326cd7bfa6f8a73861bb00d01d5e4d76 /src/optiondefs.h | |
parent | 9dbe701fe19597ad59c0e0c70a05927b587bea9f (diff) | |
download | vim-git-8b9abfd86c736ed3f298dfa8b50a962c118b3983.tar.gz |
patch 8.2.2675: directory change in a terminal window shell is not followedv8.2.2675
Problem: Directory change in a terminal window shell is not followed.
Solution: Add the 'autoshelldir' option. (closes #6290)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index dcd195d7e..42f355c28 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -372,6 +372,15 @@ static struct vimoption options[] = {(char_u *)0L, (char_u *)0L} #endif SCTX_INIT}, + {"autoshelldir", "asd", P_BOOL|P_VI_DEF, +#ifdef FEAT_AUTOSHELLDIR + (char_u *)&p_asd, PV_NONE, + {(char_u *)FALSE, (char_u *)0L} +#else + (char_u *)NULL, PV_NONE, + {(char_u *)0L, (char_u *)0L} +#endif + SCTX_INIT}, {"autoindent", "ai", P_BOOL|P_VI_DEF, (char_u *)&p_ai, PV_AI, {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, |