comparison src/option.c @ 12824:79a754456110 v8.0.1289

patch 8.0.1289: mkview always includes the local directory commit https://github.com/vim/vim/commit/13e904199c2af6aac9b289a7f520d8e16f6e478a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 11 18:16:48 2017 +0100 patch 8.0.1289: mkview always includes the local directory Problem: Mkview always includes the local directory. Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes #2316)
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Nov 2017 18:30:06 +0100
parents f8f505ffc0a6
children ebb4f6c93598
comparison
equal deleted inserted replaced
12823:358131b55d36 12824:79a754456110
2924 #endif 2924 #endif
2925 SCRIPTID_INIT}, 2925 SCRIPTID_INIT},
2926 {"viewoptions", "vop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP, 2926 {"viewoptions", "vop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2927 #ifdef FEAT_SESSION 2927 #ifdef FEAT_SESSION
2928 (char_u *)&p_vop, PV_NONE, 2928 (char_u *)&p_vop, PV_NONE,
2929 {(char_u *)"folds,options,cursor", (char_u *)0L} 2929 {(char_u *)"folds,options,cursor,curdir",
2930 (char_u *)0L}
2930 #else 2931 #else
2931 (char_u *)NULL, PV_NONE, 2932 (char_u *)NULL, PV_NONE,
2932 {(char_u *)0L, (char_u *)0L} 2933 {(char_u *)0L, (char_u *)0L}
2933 #endif 2934 #endif
2934 SCRIPTID_INIT}, 2935 SCRIPTID_INIT},