From cb3b752f9523060d3feaee33049d2092c288fca2 Mon Sep 17 00:00:00 2001 From: Girish Palya Date: Fri, 18 Apr 2025 18:52:28 +0200 Subject: [PATCH] runtime(doc): clarify "nearest" value for 'completeopt' closes: #17146 Signed-off-by: Girish Palya Signed-off-by: Christian Brabandt --- runtime/doc/options.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 8ab0dcc8bd..83032e1c42 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