From 65a3da8b15ffb31ee3cdbc5d651cab7ee36fe884 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 4 Mar 2025 07:04:25 +0800 Subject: vim-patch:659cb28: runtime(doc): fix typo "bet" in :h 'completeopt' (#32711) closes: vim/vim#16773 https://github.com/vim/vim/commit/659cb28c25b756e59c712c337f8b4650e85f8bcd --- src/nvim/options.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 2516d1a970..66244a64ac 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1525,15 +1525,15 @@ local options = { match, e.g., what file it comes from. noinsert Do not insert any text for a match until the user selects - a match from the menu. Only works in combination with + a match from the menu. Only works in combination with "menu" or "menuone". No effect if "longest" is present. noselect Same as "noinsert", except that no menu item is - pre-selected. If both "noinsert" and "noselect" are + pre-selected. If both "noinsert" and "noselect" are present, "noselect" has precedence. nosort Disable sorting of completion candidates based on fuzzy - scores when "fuzzy" is enabled. Candidates will appear + scores when "fuzzy" is enabled. Candidates will appear in their original order. popup Show extra information about the currently selected @@ -1544,7 +1544,7 @@ local options = { Preinsert the portion of the first candidate word that is not part of the current completion leader and using the |hl-ComplMatchIns| highlight group. In order for it to - work, "fuzzy" must not bet set and "menuone" must be set. + work, "fuzzy" must not be set and "menuone" must be set. preview Show extra information about the currently selected completion in the preview window. Only works in -- cgit