aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-02 22:31:14 +0800
committerGitHub <noreply@github.com>2022-02-02 22:31:14 +0800
commit21cdecc8e0233d7a99d971327d21f701dbd65ba1 (patch)
treedadd0e388a991cc8f9c0c84fbc9ca60da7586d65 /runtime
parent0c66c7dafdb78471ab3050b608301aaacb137a6e (diff)
parent7d72076a6f3bd3cb85100c94bfeb7a70de345c3b (diff)
downloadrneovim-21cdecc8e0233d7a99d971327d21f701dbd65ba1.tar.gz
rneovim-21cdecc8e0233d7a99d971327d21f701dbd65ba1.tar.bz2
rneovim-21cdecc8e0233d7a99d971327d21f701dbd65ba1.zip
Merge pull request #17245 from zeertzjq/vim-8.2.3219
vim-patch:8.2.3219: :find searches non-existing directories
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/editing.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 44987f3b7b..3d0287b0cd 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1569,6 +1569,12 @@ There are three different types of searching:
/u/user_x/work/include
/u/user_x/include
+< Note: If your 'path' setting includes a non-existing directory, Vim will
+ skip the non-existing directory, but continues searching in the parent of
+ the non-existing directory if upwards searching is used. E.g. when
+ searching "../include" and that doesn't exist, and upward searching is
+ used, also searches in "..".
+
3) Combined up/downward search:
If Vim's current path is /u/user_x/work/release and you do >
set path=**;/u/user_x