aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-10 08:22:32 +0800
committerGitHub <noreply@github.com>2023-10-10 08:22:32 +0800
commitf5eabaa9407ae3d1ccf6592337453c423eff3d9a (patch)
treef6c011f53187d5e0abe76ef23f1c99d704e3336f /runtime/lua/vim/_meta/options.lua
parent43f22853fecf312713deed983b9cde1a6bda6ebd (diff)
downloadrneovim-f5eabaa9407ae3d1ccf6592337453c423eff3d9a.tar.gz
rneovim-f5eabaa9407ae3d1ccf6592337453c423eff3d9a.tar.bz2
rneovim-f5eabaa9407ae3d1ccf6592337453c423eff3d9a.zip
fix(path): restore space separation in 'path' (#25571)
Removing this behavior causes more inconsistencies and bugs.
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index e90a85ae0a..4f6408b136 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -4621,6 +4621,12 @@ vim.go.pm = vim.go.patchmode
--- ```
--- :set path=.,/usr/local/include,/usr/include
--- ```
+--- - Spaces can also be used to separate directory names. To have a
+--- space in a directory name, precede it with an extra backslash, and
+--- escape the space:
+--- ```
+--- :set path=.,/dir/with\\\ space
+--- ```
--- - To include a comma in a directory name precede it with an extra
--- backslash:
--- ```