forked from aniani/vim
patch 8.1.0172: 'viminfofile' option does not behave like a file name
Problem: 'viminfofile' option does not behave like a file name. Solution: Add the P_EXPAND flag. (closes #3178)
This commit is contained in:
@@ -2997,7 +2997,8 @@ static struct vimoption options[] =
|
|||||||
{(char_u *)0L, (char_u *)0L}
|
{(char_u *)0L, (char_u *)0L}
|
||||||
#endif
|
#endif
|
||||||
SCRIPTID_INIT},
|
SCRIPTID_INIT},
|
||||||
{"viminfofile", "vif", P_STRING|P_ONECOMMA|P_NODUP|P_SECURE|P_VI_DEF,
|
{"viminfofile", "vif", P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP
|
||||||
|
|P_SECURE|P_VI_DEF,
|
||||||
#ifdef FEAT_VIMINFO
|
#ifdef FEAT_VIMINFO
|
||||||
(char_u *)&p_viminfofile, PV_NONE,
|
(char_u *)&p_viminfofile, PV_NONE,
|
||||||
{(char_u *)"", (char_u *)0L}
|
{(char_u *)"", (char_u *)0L}
|
||||||
|
@@ -789,6 +789,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
172,
|
||||||
/**/
|
/**/
|
||||||
171,
|
171,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user