diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-11 06:27:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 06:27:40 +0800 |
commit | 15f6cf0c8f0eaf4f6ef5f1d8328afe19246ff94f (patch) | |
tree | 958e08b024217bae54ad2d1ee0f2e187e8b0e5d1 | |
parent | 07c1996c8ad69bae559406ae17c415e6cbd345e8 (diff) | |
download | rneovim-15f6cf0c8f0eaf4f6ef5f1d8328afe19246ff94f.tar.gz rneovim-15f6cf0c8f0eaf4f6ef5f1d8328afe19246ff94f.tar.bz2 rneovim-15f6cf0c8f0eaf4f6ef5f1d8328afe19246ff94f.zip |
vim-patch:7a85e34: runtime(doc): fix inconsistencies in :h file-searching (#29652)
closes: vim/vim#15201
https://github.com/vim/vim/commit/7a85e343d29e502f66e2c3035808911e5a843e99
-rw-r--r-- | runtime/doc/editing.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 662d89895d..09ae3b1ab1 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1623,7 +1623,7 @@ There are three different types of searching: stop-directories are appended to the path (for the 'path' option) or to the filename (for the 'tags' option) with a ';'. If you want several stop-directories separate them with ';'. If you want no stop-directory - ("search upward till the root directory) just use ';'. > + ("search upward till the root directory") just use ';'. > /usr/include/sys;/usr < will search in: > /usr/include/sys @@ -1636,7 +1636,7 @@ There are three different types of searching: If Vim's current path is /u/user_x/work/release and you do > :set path=include;/u/user_x -< and then search for a file with |gf| the file is searched in: > +< and then search for a file with |gf| the file is searched in: > /u/user_x/work/release/include /u/user_x/work/include /u/user_x/include @@ -1648,7 +1648,7 @@ There are three different types of searching: 3) Combined up/downward search: If Vim's current path is /u/user_x/work/release and you do > set path=**;/u/user_x -< and then search for a file with |gf| the file is searched in: > +< and then search for a file with |gf| the file is searched in: > /u/user_x/work/release/** /u/user_x/work/** /u/user_x/** @@ -1660,10 +1660,10 @@ There are three different types of searching: In the above example you might want to set path to: > :set path=**,/u/user_x/** -< This searches: - /u/user_x/work/release/** ~ - /u/user_x/** ~ - This searches the same directories, but in a different order. +< This searches: > + /u/user_x/work/release/** + /u/user_x/** +< This searches the same directories, but in a different order. Note that completion for ":find", ":sfind", and ":tabfind" commands do not currently work with 'path' items that contain a URL or use the double star |