Permalink
Browse files

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)
  • Loading branch information...
brammool committed Jul 8, 2018
1 parent 875cf87 commit c229e54a69468722ca2449e807e90445b7479659
Showing with 4 additions and 1 deletion.
  1. +2 −1 src/option.c
  2. +2 −0 src/version.c
@@ -2997,7 +2997,8 @@ static struct vimoption options[] =
{(char_u *)0L, (char_u *)0L}
#endif
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
(char_u *)&p_viminfofile, PV_NONE,
{(char_u *)"", (char_u *)0L}
@@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
172,
/**/
171,
/**/

0 comments on commit c229e54

Please sign in to comment.