runtime(doc): clarify "nearest" value for 'completeopt'
Commit:
https://github.com/vim/vim/commit/cb3b752f9523060d3feaee33049d2092c288fca2
Author: Girish Palya <
giri...@gmail.com>
Date: Fri Apr 18 18:52:28 2025 +0200
runtime(doc): clarify "nearest" value for 'completeopt'
closes:
https://github.com/vim/vim/issues/17146
Signed-off-by: Girish Palya <
giri...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 8ab0dcc8b..83032e1c4 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2025 Apr 16
+*options.txt* For Vim version 9.1. Last change: 2025 Apr 18
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2208,8 +2208,10 @@ A jump table for the options with a short description can be found at |Q_op|.
Useful when there is additional information about the
match, e.g., what file it comes from.
- nearest Matches are presented in order of proximity to the cursor
- position. This applies only to matches from the current
+ nearest Matches are listed based on their proximity to the cursor
+ position, unlike the default behavior, which only
+ considers proximity for matches appearing below the
+ cursor. This applies only to matches from the current
buffer. No effect if "fuzzy" is present.
noinsert Do not insert any text for a match until the user selects