mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
defaults: prefix "!" to 'viminfo' by default #2870
Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:

committed by
Justin M. Keyes

parent
8963285530
commit
721ffd6b65
@@ -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|
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user