Commit: runtime(doc): Update documentation for "noselect" in 'completeopt'

1 view
Skip to first unread message

Christian Brabandt

unread,
Dec 1, 2024, 2:15:13 PM12/1/24
to vim...@googlegroups.com
runtime(doc): Update documentation for "noselect" in 'completeopt'

Commit: https://github.com/vim/vim/commit/768728b48751c5e937409d12d98bfa1fb4c37266
Author: dundargoc <gocd...@gmail.com>
Date: Sun Dec 1 20:06:42 2024 +0100

runtime(doc): Update documentation for "noselect" in 'completeopt'

In particular, make the distinction and interaction between "noinsert"
and "noselect" clearer as it was very confusing before.

closes: #16148

Signed-off-by: dundargoc <gocd...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 764b4ab33..1de1057b2 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2024 Nov 27
+*options.txt* For Vim version 9.1. Last change: 2024 Dec 01


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2154,9 +2154,9 @@ A jump table for the options with a short description can be found at |Q_op|.
a match from the menu. Only works in combination with
"menu" or "menuone". No effect if "longest" is present.

- noselect Do not select a match in the menu, force the user to
- select one from the menu. Only works in combination with
- "menu" or "menuone".
+ noselect Same as "noinsert", except that no menu item is
+ pre-selected. If both "noinsert" and "noselect" are present,
+ "noselect" has precedence.

fuzzy Enable |fuzzy-matching| for completion candidates. This
allows for more flexible and intuitive matching, where
Reply all
Reply to author
Forward
0 new messages