aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-15 21:15:36 +0200
committerGitHub <noreply@github.com>2019-04-15 21:15:36 +0200
commitaa82f8b88fe82077740894dd387801384e0558b6 (patch)
treeb03732aa27ed20915b0bc6440b28f16098f14922 /src/nvim/options.lua
parent987619ddd73e792dc04b1a408b92cef2abb52bef (diff)
downloadrneovim-aa82f8b88fe82077740894dd387801384e0558b6.tar.gz
rneovim-aa82f8b88fe82077740894dd387801384e0558b6.tar.bz2
rneovim-aa82f8b88fe82077740894dd387801384e0558b6.zip
vim-patch:8.0.0716: "--clean", 'shadafile' #9907
Nvim notes: - Nvim does not support "-u DEFAULTS", that change is omitted. - Also add 'shadafile' as an alias to 'viminfofile'. - Deprecate 'viminfofile'. Problem: Not easy to start Vim cleanly without changing the viminfo file. Not possible to know whether the -i command line flag was used. Solution: Add the --clean command line argument. Add the 'viminfofile' option. Add "-u DEFAULTS". https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index a855610cc9..affddd8084 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2015,6 +2015,15 @@ return {
defaults={if_true={vi="", vim="!,'100,<50,s10,h"}}
},
{
+ full_name='shadafile', abbreviation='sdf',
+ type='string', list='onecomma', scope={'global'},
+ deny_duplicates=true,
+ vi_def=true,
+ secure=true,
+ varname='p_shadafile',
+ defaults={if_true={vi=""}}
+ },
+ {
full_name='shell', abbreviation='sh',
type='string', scope={'global'},
secure=true,
@@ -2633,6 +2642,15 @@ return {
defaults={if_true={vi="", vim="!,'100,<50,s10,h"}}
},
{
+ 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=""}}
+ },
+ {
full_name='virtualedit', abbreviation='ve',
type='string', list='onecomma', scope={'global'},
deny_duplicates=true,