diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-29 21:33:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-29 21:33:13 +0800 |
commit | 295ab46ea0943fe9783ad5f8f03e0dbc6958db6a (patch) | |
tree | ded0a30afacf80107771a3a673cc58ef1f05ec96 /src/nvim/options.lua | |
parent | d6a5bc4e8b69798b3accf17651b845d078a5743b (diff) | |
parent | 52b19e012474c19601a491bf0a0ab6ba15cfae8d (diff) | |
download | rneovim-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 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 2f77d0ebb7..f261abf30e 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -6426,6 +6426,21 @@ local options = { varname = 'p_ph', }, { + abbreviation = 'pmw', + defaults = 0, + desc = [=[ + 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'. + ]=], + full_name = 'pummaxwidth', + scope = { 'global' }, + short_desc = N_('maximum width of the popup menu'), + type = 'number', + varname = 'p_pmw', + }, + { abbreviation = 'pw', defaults = 15, desc = [=[ |