runtime(doc): clarify "nearest" value for 'completeopt'

closes: #17146

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Girish Palya
2025-04-18 18:52:28 +02:00
committed by Christian Brabandt
parent 13960a8779
commit cb3b752f95

View File

@ -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