From 1939ec176348c8bb3b821586cd4f3b99f9ad5cd1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 3 Oct 2025 17:30:24 +0800 Subject: [PATCH] vim-patch:09b1ce0: runtime(doc): fix typo after commit cfcf1a57cbef (#36001) related: vim/vim#18452 https://github.com/vim/vim/commit/09b1ce08600bf2b423cb5b3a16952bf183bed1ff Co-authored-by: Christian Brabandt --- runtime/doc/options.txt | 4 ++-- runtime/lua/vim/_meta/options.lua | 4 ++-- src/nvim/options.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 9e4d14d390..dff638d29a 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1674,8 +1674,8 @@ A jump table for the options with a short description can be found at |Q_op|. noselect Same as "noinsert", except that no menu item is pre-selected. If both "noinsert" and "noselect" are - present, "noselect" takes precedence. This options is - enabled automatically when 'autocomplete' is on, unless + present, "noselect" takes precedence. This is enabled + automatically when 'autocomplete' is on, unless "preinsert" is also enabled. nosort Disable sorting of completion candidates based on fuzzy diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index b82b6693e2..0e52e40cbc 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -1219,8 +1219,8 @@ vim.go.cia = vim.go.completeitemalign --- --- noselect Same as "noinsert", except that no menu item is --- pre-selected. If both "noinsert" and "noselect" are ---- present, "noselect" takes precedence. This options is ---- enabled automatically when 'autocomplete' is on, unless +--- present, "noselect" takes precedence. This is enabled +--- automatically when 'autocomplete' is on, unless --- "preinsert" is also enabled. --- --- nosort Disable sorting of completion candidates based on fuzzy diff --git a/src/nvim/options.lua b/src/nvim/options.lua index cba887ff41..f3b21123be 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1699,8 +1699,8 @@ local options = { noselect Same as "noinsert", except that no menu item is pre-selected. If both "noinsert" and "noselect" are - present, "noselect" takes precedence. This options is - enabled automatically when 'autocomplete' is on, unless + present, "noselect" takes precedence. This is enabled + automatically when 'autocomplete' is on, unless "preinsert" is also enabled. nosort Disable sorting of completion candidates based on fuzzy