commit c90135d6e57437def9177047bb12d7715b700a28
parent 869e55f2aacdc986a51f0bb683f11dcf0c464e98
Author: Maria Solano <majosolano99@gmail.com>
Date: Mon, 20 Oct 2025 15:10:03 -0700
docs(ui): 'pumborder' #36255
Diffstat:
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
@@ -4911,9 +4911,9 @@ A jump table for the options with a short description can be found at |Q_op|.
*'pumborder'*
'pumborder' string (default "")
global
- Defines the default border style of popupmenu windows. Same as
- 'winborder'. |hl-PmenuBorder| is used. When style is "shadow", the
- |hl-PmenuShadow| and |hl-PmenuShadowThrough| are used.
+ Defines the default border style of popupmenu windows. See 'winborder' for
+ valid values. |hl-PmenuBorder| is used for highlighting the border, and when
+ style is "shadow" the |hl-PmenuShadow| and |hl-PmenuShadowThrough| groups are used.
*'pumheight'* *'ph'*
'pumheight' 'ph' number (default 0)
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
@@ -5129,9 +5129,9 @@ vim.o.pb = vim.o.pumblend
vim.go.pumblend = vim.o.pumblend
vim.go.pb = vim.go.pumblend
---- Defines the default border style of popupmenu windows. Same as
---- 'winborder'. `hl-PmenuBorder` is used. When style is "shadow", the
---- `hl-PmenuShadow` and `hl-PmenuShadowThrough` are used.
+--- Defines the default border style of popupmenu windows. See 'winborder' for
+--- valid values. `hl-PmenuBorder` is used for highlighting the border, and when
+--- style is "shadow" the `hl-PmenuShadow` and `hl-PmenuShadowThrough` groups are used.
---
--- @type string
vim.o.pumborder = ""
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
@@ -6726,9 +6726,9 @@ local options = {
defaults = { if_true = '' },
values = { '', 'double', 'single', 'shadow', 'rounded', 'solid', 'bold', 'none' },
desc = [=[
- Defines the default border style of popupmenu windows. Same as
- 'winborder'. |hl-PmenuBorder| is used. When style is "shadow", the
- |hl-PmenuShadow| and |hl-PmenuShadowThrough| are used.
+ Defines the default border style of popupmenu windows. See 'winborder' for
+ valid values. |hl-PmenuBorder| is used for highlighting the border, and when
+ style is "shadow" the |hl-PmenuShadow| and |hl-PmenuShadowThrough| groups are used.
]=],
short_desc = N_('border of popupmenu'),
type = 'string',