Skip to content

Commit

Permalink
patch 8.1.0172: 'viminfofile' option does not behave like a file name
Browse files Browse the repository at this point in the history
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 c229e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/option.c
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

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

0 comments on commit c229e54

Please sign in to comment.