diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-12-25 11:31:54 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2021-12-25 11:31:54 +0800 |
commit | 42cf76fd0ab2afe3ca633d0d6600c8a771731f57 (patch) | |
tree | 25d8bd975f6185db2fc65616ec28c045ff664b7f /src/nvim/options.lua | |
parent | 0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29 (diff) | |
download | rneovim-42cf76fd0ab2afe3ca633d0d6600c8a771731f57.tar.gz rneovim-42cf76fd0ab2afe3ca633d0d6600c8a771731f57.tar.bz2 rneovim-42cf76fd0ab2afe3ca633d0d6600c8a771731f57.zip |
vim-patch:8.2.3780: ":cd" works differently on MS-Windows
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes vim/vim#9324)
https://github.com/vim/vim/commit/29f3a4591528130fded3fe1d63d74bcf22ab4f6c
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 71208dfc68..c0872f75bc 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -275,6 +275,14 @@ return { defaults={if_true="internal,keepascii"} }, { + full_name='cdhome', abbreviation='cdh', + short_desc=N_("change directory to the home directory by :cd"), + type='bool', scope={'global'}, + secure=true, + varname='p_cdh', + defaults={if_true=false} + }, + { full_name='cdpath', abbreviation='cd', short_desc=N_("list of directories searched with \":cd\""), type='string', list='comma', scope={'global'}, |