aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-26 08:47:37 +0200
committerDaniel Hahler <git@thequod.de>2019-08-26 09:39:00 +0200
commitb2d6a6891e52254700ee2d81a8651c3e50466d84 (patch)
treed8b7939ac0e22274616f8729d58305b92143914d /src/nvim/options.lua
parente3e0574cb3feac4f539383d47f82d0b6e04d8c9b (diff)
downloadrneovim-b2d6a6891e52254700ee2d81a8651c3e50466d84.tar.gz
rneovim-b2d6a6891e52254700ee2d81a8651c3e50466d84.tar.bz2
rneovim-b2d6a6891e52254700ee2d81a8651c3e50466d84.zip
findoption_len: treat viminfo/viminfofile as aliases
Ref: https://github.com/neovim/neovim/pull/10672#issuecomment-524716824
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 3280c92b2d..52e788944b 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2659,21 +2659,14 @@ return {
defaults={if_true={vi="folds,options,cursor,curdir"}}
},
{
+ -- Alias for "shada".
full_name='viminfo', abbreviation='vi',
- type='string', list='onecomma', scope={'global'},
- deny_duplicates=true,
- secure=true,
- varname='p_shada',
- defaults={if_true={vi="", vim="!,'100,<50,s10,h"}}
+ type='string', scope={'global'}, nodefault=true,
},
{
+ -- Alias for "shadafile".
full_name='viminfofile', abbreviation='vif',
- type='string', list='onecomma', scope={'global'},
- deny_duplicates=true,
- vi_def=true,
- secure=true,
- varname='p_shadafile',
- defaults={if_true={vi=""}}
+ type='string', scope={'global'}, nodefault=true,
},
{
full_name='virtualedit', abbreviation='ve',