aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 396fa7c670..68d88ea0aa 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -5926,6 +5926,10 @@ return {
option may be relative or absolute.
- Use commas to separate directory names: >
: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: >
:set path=.,/dir/with\\,comma