vim-patch:cb3b752: runtime(doc): clarify "nearest" value for 'completeopt' (#33534)

closes: vim/vim#17146

cb3b752f95

Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
zeertzjq
2025-04-19 08:42:48 +08:00
committed by GitHub
parent dca8b3fede
commit 7380f8ec71
3 changed files with 12 additions and 6 deletions

View File

@ -1590,8 +1590,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

View File

@ -1123,8 +1123,10 @@ vim.go.cia = vim.go.completeitemalign
--- 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

View File

@ -1580,8 +1580,10 @@ local options = {
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