diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-10 00:42:59 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-29 18:15:46 -0500 |
commit | 703ed11c97256997aa0ce8aa5fe04b6e89e8e829 (patch) | |
tree | 402cdbb43de7fd560947b73ff294a6ad03cdfbe1 /src/nvim/options.lua | |
parent | 34a59242a0d42687a49119cca590e7b4203496ef (diff) | |
download | rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.tar.gz rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.tar.bz2 rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.zip |
vim-patch:8.0.1491: the minimum width of the popup menu is hard coded
Problem: The minimum width of the popup menu is hard coded.
Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
closes vim/vim#2314)
https://github.com/vim/vim/commit/a8f04aa275984183bab5bb583b128f38c64abb69
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 93bfc1c0b1..e80d8e4cc2 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1823,6 +1823,13 @@ return { defaults={if_true={vi=0}} }, { + full_name='pumwidth', abbreviation='pw', + type='number', scope={'global'}, + vi_def=true, + varname='p_pw', + defaults={if_true={vi=0}} + }, + { full_name='pumblend', abbreviation='pb', type='number', scope={'global'}, vi_def=true, |