defaults: prefix "!" to 'viminfo' by default #2870

Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:
Felipe Morales
2015-06-20 16:23:38 -03:00
committed by Justin M. Keyes
parent 8963285530
commit 721ffd6b65
3 changed files with 4 additions and 3 deletions

View File

@@ -6897,8 +6897,8 @@ A jump table for the options with a short description can be found at |Q_op|.
*'viminfo'* *'vi'* *E526* *E527* *E528*
'viminfo' 'vi' string (Vim default for
Win32: '100,<50,s10,h,rA:,rB:
others: '100,<50,s10,h
Win32: '!,100,<50,s10,h,rA:,rB:
others: '!,100,<50,s10,h
Vi default: "")
global
{not available when compiled without the |+viminfo|

View File

@@ -45,6 +45,7 @@ these differences.
- 'tabpagemax' defaults to 50
- 'tags' defaults to "./tags;,tags"
- 'ttyfast' is always set
- 'viminfo' includes "!"
- 'wildmenu' is set by default
- 'wildmode' defaults to "list:longest,full"

View File

@@ -1587,7 +1587,7 @@ static vimoption_T
SCRIPTID_INIT},
{"viminfo", "vi", P_STRING|P_COMMA|P_NODUP|P_SECURE,
(char_u *)&p_viminfo, PV_NONE,
{(char_u *)"", (char_u *)"'100,<50,s10,h"}
{(char_u *)"", (char_u *)"!,'100,<50,s10,h"}
SCRIPTID_INIT},
{"virtualedit", "ve", P_STRING|P_COMMA|P_NODUP|P_VI_DEF|P_VIM|P_CURSWANT,
(char_u *)&p_ve, PV_NONE,