diff options
| author | bfredl <bjorn.linse@gmail.com> | 2025-08-03 10:19:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-03 10:19:11 +0200 |
| commit | 2ef48fc65ccf9fe55426ef7e3efa115a210abed5 (patch) | |
| tree | 455f63dcd1d9cd1d922b49d3c8bd763349506d88 /runtime/lua/vim | |
| parent | 78f4994627b7d9c3b85f30028fe55ff38024a39d (diff) | |
| parent | 9910445125bbcf2d51715d5aac97d3f3db58f2de (diff) | |
Merge pull request #35130 from bfredl/cringe
fix(options): make 'cdhome' take effect on any platform
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/_meta/options.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index b30a84e4bd..c7116757de 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -700,12 +700,11 @@ vim.go.cmp = vim.go.casemap --- When on, `:cd`, `:tcd` and `:lcd` without an argument changes the --- current working directory to the `$HOME` directory like in Unix. --- When off, those commands just print the current directory name. ---- On Unix this option has no effect. --- This option cannot be set from a `modeline` or in the `sandbox`, for --- security reasons. --- --- @type boolean -vim.o.cdhome = false +vim.o.cdhome = true vim.o.cdh = vim.o.cdhome vim.go.cdhome = vim.o.cdhome vim.go.cdh = vim.go.cdhome |
