diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-11 18:16:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-11 18:16:48 +0100 |
commit | 13e904199c2af6aac9b289a7f520d8e16f6e478a (patch) | |
tree | 0c1b860753be379999ff135050a4454e03c530e9 /src/option.c | |
parent | ae147ab2d7649e7a0bcf11b9f3db1900c1a4d594 (diff) | |
download | vim-git-13e904199c2af6aac9b289a7f520d8e16f6e478a.tar.gz |
patch 8.0.1289: mkview always includes the local directoryv8.0.1289
Problem: Mkview always includes the local directory.
Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
#2316)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index ceafea389..4f25c1ff4 100644 --- a/src/option.c +++ b/src/option.c @@ -2926,7 +2926,8 @@ static struct vimoption options[] = {"viewoptions", "vop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP, #ifdef FEAT_SESSION (char_u *)&p_vop, PV_NONE, - {(char_u *)"folds,options,cursor", (char_u *)0L} + {(char_u *)"folds,options,cursor,curdir", + (char_u *)0L} #else (char_u *)NULL, PV_NONE, {(char_u *)0L, (char_u *)0L} |