diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-19 08:42:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 08:42:48 +0800 |
| commit | 7380f8ec714d437b4fe2d36c80910aa5c5b53cb6 (patch) | |
| tree | 6035927b4377b4d804a3a66b2b6dfa957e365e9b /runtime/lua/vim/_meta/options.lua | |
| parent | dca8b3fede61e746dfe3cc10fea6dd0e623dd400 (diff) | |
vim-patch:cb3b752: runtime(doc): clarify "nearest" value for 'completeopt' (#33534)
closes: vim/vim#17146
https://github.com/vim/vim/commit/cb3b752f9523060d3feaee33049d2092c288fca2
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/options.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 956a22bd4b..78bce262cd 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -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 |
