aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-29 21:33:13 +0800
committerGitHub <noreply@github.com>2025-03-29 21:33:13 +0800
commit295ab46ea0943fe9783ad5f8f03e0dbc6958db6a (patch)
treeded0a30afacf80107771a3a673cc58ef1f05ec96 /runtime/doc
parentd6a5bc4e8b69798b3accf17651b845d078a5743b (diff)
parent52b19e012474c19601a491bf0a0ab6ba15cfae8d (diff)
downloadrneovim-295ab46ea0943fe9783ad5f8f03e0dbc6958db6a.tar.gz
rneovim-295ab46ea0943fe9783ad5f8f03e0dbc6958db6a.tar.bz2
rneovim-295ab46ea0943fe9783ad5f8f03e0dbc6958db6a.zip
Merge pull request #33114 from zeertzjq/vim-9.1.1250
vim-patch:9.1.{1250,1255,1257}: 'pummaxwidth'
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt1
-rw-r--r--runtime/doc/options.txt8
2 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index aa6af1ef55..5f47c474a7 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -79,6 +79,7 @@ LUA
OPTIONS
• 'diffopt' `inline:` configures diff highlighting for changes within a line.
+• 'pummaxwidth' sets maximum width for the completion popup menu.
PLUGINS
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index ada4e250bc..bdc4f20fac 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4623,6 +4623,14 @@ A jump table for the options with a short description can be found at |Q_op|.
Maximum number of items to show in the popup menu
(|ins-completion-menu|). Zero means "use available screen space".
+ *'pummaxwidth'* *'pmw'*
+'pummaxwidth' 'pmw' number (default 0)
+ global
+ Maximum width for the popup menu (|ins-completion-menu|). When zero,
+ there is no maximum width limit, otherwise the popup menu will never be
+ wider than this value. Truncated text will be indicated by "..." at the
+ end. Takes precedence over 'pumwidth'.
+
*'pumwidth'* *'pw'*
'pumwidth' 'pw' number (default 15)
global