comparison src/option.c @ 8182:95d59081580f v7.4.1384

commit https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 23:02:49 2016 +0100 patch 7.4.1384 Problem: It is not easy to use a set of plugins and their dependencies. Solution: Add packages, ":loadopt", 'packpath'.
author Christian Brabandt <cb@256bit.org>
date Sun, 21 Feb 2016 23:15:05 +0100
parents d8a8e86f39ad
children 05b88224cea1
comparison
equal deleted inserted replaced
8181:f478d4537f82 8182:95d59081580f
1976 (char_u *)NULL, PV_NONE, 1976 (char_u *)NULL, PV_NONE,
1977 {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, 1977 {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
1978 {"osfiletype", "oft", P_STRING|P_ALLOCED|P_VI_DEF, 1978 {"osfiletype", "oft", P_STRING|P_ALLOCED|P_VI_DEF,
1979 (char_u *)NULL, PV_NONE, 1979 (char_u *)NULL, PV_NONE,
1980 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT}, 1980 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
1981 {"packpath", "pp", P_STRING|P_VI_DEF|P_EXPAND|P_ONECOMMA|P_NODUP
1982 |P_SECURE,
1983 (char_u *)&p_pp, PV_NONE,
1984 {(char_u *)DFLT_RUNTIMEPATH, (char_u *)0L}
1985 SCRIPTID_INIT},
1981 {"paragraphs", "para", P_STRING|P_VI_DEF, 1986 {"paragraphs", "para", P_STRING|P_VI_DEF,
1982 (char_u *)&p_para, PV_NONE, 1987 (char_u *)&p_para, PV_NONE,
1983 {(char_u *)"IPLPPPQPP TPHPLIPpLpItpplpipbp", 1988 {(char_u *)"IPLPPPQPP TPHPLIPpLpItpplpipbp",
1984 (char_u *)0L} SCRIPTID_INIT}, 1989 (char_u *)0L} SCRIPTID_INIT},
1985 {"paste", NULL, P_BOOL|P_VI_DEF|P_PRI_MKRC, 1990 {"paste", NULL, P_BOOL|P_VI_DEF|P_PRI_MKRC,
11043 { 11048 {
11044 p = options[opt_idx].var; 11049 p = options[opt_idx].var;
11045 if (p == (char_u *)&p_bdir 11050 if (p == (char_u *)&p_bdir
11046 || p == (char_u *)&p_dir 11051 || p == (char_u *)&p_dir
11047 || p == (char_u *)&p_path 11052 || p == (char_u *)&p_path
11053 || p == (char_u *)&p_pp
11048 || p == (char_u *)&p_rtp 11054 || p == (char_u *)&p_rtp
11049 #ifdef FEAT_SEARCHPATH 11055 #ifdef FEAT_SEARCHPATH
11050 || p == (char_u *)&p_cdpath 11056 || p == (char_u *)&p_cdpath
11051 #endif 11057 #endif
11052 #ifdef FEAT_SESSION 11058 #ifdef FEAT_SESSION