vim-patch:85a50fe: runtime(doc): fix confusing docs for 'completeitemalign' (#32671)

closes: vim/vim#16743

85a50fe825
This commit is contained in:
zeertzjq
2025-02-28 08:28:24 +08:00
committed by GitHub
parent 567ab3c34f
commit da219960cb
3 changed files with 12 additions and 12 deletions

View File

@@ -1520,10 +1520,10 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completeitemalign'* *'cia'* *'completeitemalign'* *'cia'*
'completeitemalign' 'cia' string (default "abbr,kind,menu") 'completeitemalign' 'cia' string (default "abbr,kind,menu")
global global
A comma-separated list of |complete-items| that controls the alignment A comma-separated list of strings that controls the alignment and
and display order of items in the popup menu during Insert mode display order of items in the popup menu during Insert mode
completion. The supported values are abbr, kind, and menu. These completion. The supported values are "abbr", "kind", and "menu".
options allow to customize how the completion items are shown in the These values allow customizing how |complete-items| are shown in the
popup menu. Note: must always contain those three values in any popup menu. Note: must always contain those three values in any
order. order.

View File

@@ -1044,10 +1044,10 @@ vim.o.cfu = vim.o.completefunc
vim.bo.completefunc = vim.o.completefunc vim.bo.completefunc = vim.o.completefunc
vim.bo.cfu = vim.bo.completefunc vim.bo.cfu = vim.bo.completefunc
--- A comma-separated list of `complete-items` that controls the alignment --- A comma-separated list of strings that controls the alignment and
--- and display order of items in the popup menu during Insert mode --- display order of items in the popup menu during Insert mode
--- completion. The supported values are abbr, kind, and menu. These --- completion. The supported values are "abbr", "kind", and "menu".
--- options allow to customize how the completion items are shown in the --- These values allow customizing how `complete-items` are shown in the
--- popup menu. Note: must always contain those three values in any --- popup menu. Note: must always contain those three values in any
--- order. --- order.
--- ---

View File

@@ -1466,10 +1466,10 @@ local options = {
flags = true, flags = true,
deny_duplicates = true, deny_duplicates = true,
desc = [=[ desc = [=[
A comma-separated list of |complete-items| that controls the alignment A comma-separated list of strings that controls the alignment and
and display order of items in the popup menu during Insert mode display order of items in the popup menu during Insert mode
completion. The supported values are abbr, kind, and menu. These completion. The supported values are "abbr", "kind", and "menu".
options allow to customize how the completion items are shown in the These values allow customizing how |complete-items| are shown in the
popup menu. Note: must always contain those three values in any popup menu. Note: must always contain those three values in any
order. order.
]=], ]=],