diff options
author | Keerthan Jaic <jckeerthan@gmail.com> | 2015-08-04 21:41:38 -0400 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-23 14:54:09 +0300 |
commit | c2dd07448ff1b2922e8ea14f909a9cbde481e5fc (patch) | |
tree | 747efd028186695c226327a724fdc1fa72ed5dad /src/nvim/options.lua | |
parent | e38cbb93670272d0da15c60222a123b88ec55002 (diff) | |
download | rneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.tar.gz rneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.tar.bz2 rneovim-c2dd07448ff1b2922e8ea14f909a9cbde481e5fc.zip |
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.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 842b0a7c82..633eabab60 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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', |