aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-02 06:40:52 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-03-02 07:02:10 +0800
commit13513835798c732554de277229d4c6744df11502 (patch)
treed3e6bc7de1f3f81d0a70b40c4665002a9a46824c /runtime/lua/vim/_meta/options.lua
parent26775183ff67968cef06d42666f451c0d1e5c4dc (diff)
downloadrneovim-13513835798c732554de277229d4c6744df11502.tar.gz
rneovim-13513835798c732554de277229d4c6744df11502.tar.bz2
rneovim-13513835798c732554de277229d4c6744df11502.zip
vim-patch:9.1.1161: preinsert requires bot "menu" and "menuone" to be set
Problem: preinsert requires bot "menu" and "menuone" to be set, but "menu" is redundant (after v9.1.1160) Solution: preinsert only requires menuone (glepnir) closes: vim/vim#16763 https://github.com/vim/vim/commit/94a045ed56d7616c0cd0080d3f308d6cf9fbe64c Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 4fce3e9af2..25cc3aae00 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1101,9 +1101,8 @@ vim.go.cia = vim.go.completeitemalign
--- preinsert
--- Preinsert the portion of the first candidate word that is
--- not part of the current completion leader and using the
---- `hl-ComplMatchIns` highlight group. Does not work when
---- "fuzzy" is set. Requires both "menu" and "menuone" to be
---- set.
+--- `hl-ComplMatchIns` highlight group. In order for it to
+--- work, "fuzzy" must not bet set and "menuone" must be set.
---
--- preview Show extra information about the currently selected
--- completion in the preview window. Only works in