aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-06-25 23:39:16 +0300
committerZyX <kp-pav@yandex.ru>2016-07-10 02:04:27 +0300
commit895f712df8afc053b59783189954e665ccd21dab (patch)
tree0c099358fbe79cf3b9a2b6157018b484b50c1cd7 /test/functional/api/vim_spec.lua
parent5573e1a350dd2df65e21ed48c14cf89f5e9c0e7a (diff)
downloadrneovim-895f712df8afc053b59783189954e665ccd21dab.tar.gz
rneovim-895f712df8afc053b59783189954e665ccd21dab.tar.bz2
rneovim-895f712df8afc053b59783189954e665ccd21dab.zip
option: Do not expand options, obtained from XDG vars
It is a wrong thing to do, this makes valid variable values be treated incorrectly: in XDG_DATA_HOME='/home/$foo/.local/share' `$foo` should be treated literally and not expanded to `foo` environment variable value. Also makes option_expand not try to expand too long strings even if these too long strings are default values. Previously it thought that default values should always be expanded. Also does not try to expand NULL should it be the default value just in case. Fixes #4961
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions