mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
option,main: Partial support of XDG base directory specification
- Add functions that are able to query XDG. - Replace defaults for - &runtimepath. Does not follow #78. - &viewdir. - &undodir. - &directory. - &backupdir. Does not follow #78. - vimrc location. - Remove user vimrc file line from :version message.
This commit is contained in:
@@ -176,7 +176,7 @@ return {
|
||||
vi_def=true,
|
||||
expand=true,
|
||||
varname='p_bdir',
|
||||
defaults={if_true={vi=macros('DFLT_BDIR')}}
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
full_name='backupext', abbreviation='bex',
|
||||
@@ -627,7 +627,7 @@ return {
|
||||
vi_def=true,
|
||||
expand=true,
|
||||
varname='p_dir',
|
||||
defaults={if_true={vi=macros('DFLT_DIR')}}
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
full_name='display', abbreviation='dy',
|
||||
@@ -1916,7 +1916,7 @@ return {
|
||||
vi_def=true,
|
||||
expand=true,
|
||||
varname='p_rtp',
|
||||
defaults={if_true={vi=macros('DFLT_RUNTIMEPATH')}}
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
full_name='scroll', abbreviation='scr',
|
||||
@@ -2524,7 +2524,7 @@ return {
|
||||
vi_def=true,
|
||||
expand=true,
|
||||
varname='p_udir',
|
||||
defaults={if_true={vi="."}}
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
full_name='undofile', abbreviation='udf',
|
||||
@@ -2585,7 +2585,7 @@ return {
|
||||
vi_def=true,
|
||||
expand=true,
|
||||
varname='p_vdir',
|
||||
defaults={if_true={vi=macros('DFLT_VDIR')}}
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
full_name='viewoptions', abbreviation='vop',
|
||||
|
Reference in New Issue
Block a user