1- *options.txt* For Vim version 9.2. Last change: 2026 Apr 06
1+ *options.txt* For Vim version 9.2. Last change: 2026 Apr 09
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6886,6 +6886,7 @@ A jump table for the options with a short description can be found at |Q_op|.
68866886 global
68876887 Defines a border and optional decorations for the popup menu in
68886888 completion. The value is a comma-separated list of keywords.
6889+ See 'pumopt' for a consolidated alternative.
68896890
68906891 Border styles (at most one):
68916892 "single" use thin box-drawing characters
@@ -6921,6 +6922,7 @@ A jump table for the options with a short description can be found at |Q_op|.
69216922 Determines the maximum number of items to show in the popup menu for
69226923 Insert mode completion. When zero as much space as available is used.
69236924 | ins-completion-menu | .
6925+ See 'pumopt' for a consolidated alternative.
69246926
69256927 *'pummaxwidth'* *'pmw'*
69266928'pummaxwidth' 'pmw' number (default 0)
@@ -6932,12 +6934,67 @@ A jump table for the options with a short description can be found at |Q_op|.
69326934
69336935 This option takes precedence over 'pumwidth' .
69346936 | ins-completion-menu | .
6937+ See 'pumopt' for a consolidated alternative.
6938+
6939+ *'pumopt'*
6940+ 'pumopt' string (default "")
6941+ global
6942+ Configures the popup menu used for Insert mode completion.
6943+ The value is a comma-separated list of "key:value" pairs and flags.
6944+
6945+ Keys with values:
6946+ border:{style} set a border style (at most one):
6947+ "single" thin box-drawing characters
6948+ "double" double-line box-drawing characters
6949+ "round" rounded corners
6950+ "ascii" ASCII characters (-, |, +)
6951+ "custom:X;X;X;X;X;X;X;X"
6952+ eight characters separated by
6953+ semicolons, in the order: top, right,
6954+ bottom, left, topleft, topright,
6955+ botright, botleft
6956+ height:{n} maximum number of items to show (default 0,
6957+ meaning as much space as available)
6958+ width:{n} minimum width (default 15)
6959+ maxwidth:{n} maximum width (default 0, meaning no limit).
6960+ This takes precedence over width.
6961+ Truncated text is indicated by "trunc" value
6962+ of 'fillchars' option.
6963+ opacity:{n} opacity percentage 0-100 (default 100).
6964+ When less than 100, background content shows
6965+ through the popup menu.
6966+
6967+ Flags (no value):
6968+ margin adds one-cell spacing inside the left and
6969+ right border. Requires a border style.
6970+ shadow draws a shadow at the right and bottom edges.
6971+
6972+ Border styles using box-drawing characters ("single", "double",
6973+ "round") are only available when 'encoding' is "utf-8" and 'ambiwidth'
6974+ is "single".
6975+
6976+ Highlight groups:
6977+ | hl-PmenuBorder | used for the border characters
6978+ | hl-PmenuShadow | used for the shadow
6979+
6980+ Note: When 'pumopt' is set, all values are reset to their defaults
6981+ first, then the specified keys are applied. Unspecified keys get
6982+ their default values.
6983+
6984+ Examples: >
6985+ :set pumopt=border:single
6986+ :set pumopt=border:double,margin,shadow
6987+ :set pumopt=height:10,width:20,opacity:80
6988+ :set pumopt=border:custom:─;│;─;│;┌;┐;┘;└,shadow
6989+ <
6990+ See also: | ins-completion-menu | .
69356991
69366992 *'pumwidth'* *'pw'*
69376993'pumwidth' 'pw' number (default 15)
69386994 global
69396995 Determines the minimum width to use for the popup menu for Insert mode
69406996 completion. | ins-completion-menu | .
6997+ See 'pumopt' for a consolidated alternative.
69416998
69426999 *'pythondll'*
69437000'pythondll' string (default depends on the build)
0 commit comments