summaryrefslogtreecommitdiffstats
path: root/runtime/doc/editing.txt
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2021-07-25 15:08:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-25 15:08:05 +0200
commit7a4ca32175bef0f9a177052796bd9addd10dc218 (patch)
treea97843cf615b86a4ad7dd221746cb5454df24a2f /runtime/doc/editing.txt
parent8a4c812ede5b01a8e71082c1ff4ebfcbf1bd515f (diff)
patch 8.2.3219: :find searches non-existing directoriesv8.2.3219
Problem: :find searches non-existing directories. Solution: Check the path is not "..". Update help. (Christian Brabandt, closes #8612, closes #8533)
Diffstat (limited to 'runtime/doc/editing.txt')
-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 2331798689..6bc245abcb 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1749,6 +1749,12 @@ There are three different types of searching:
/u/user_x/work/include
/u/user_x/include
+< Note: If your 'path' setting includes an 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