Skip to content

Commit

Permalink
Sort 'pumblend' option
Browse files Browse the repository at this point in the history
Options should be sorted in alphabetical order.
  • Loading branch information
janlazo committed Dec 29, 2019
1 parent b6d2a29 commit 5eb18d4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions runtime/doc/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4524,20 +4524,6 @@ A jump table for the options with a short description can be found at |Q_op|.
global
When on a ":" prompt is used in Ex mode.

*'pumheight'* *'ph'*
'pumheight' 'ph' number (default 0)
global
Determines the maximum number of items to show in the popup menu for
Insert mode completion. When zero as much space as available is used.
|ins-completion-menu|.

*'pumwidth'* *'pw'*
'pumwidth' 'pw' number (default 0)
global
Determines the minium width to use for the popup menu for Insert mode
completion. When zero the default of 15 screen cells is used.
|ins-completion-menu|.

*'pumblend'* *'pb'*
'pumblend' 'pb' number (default 0)
global
Expand All @@ -4554,6 +4540,20 @@ A jump table for the options with a short description can be found at |Q_op|.
<
UI-dependent. Works best with RGB colors. 'termguicolors'

*'pumheight'* *'ph'*
'pumheight' 'ph' number (default 0)
global
Determines the maximum number of items to show in the popup menu for
Insert mode completion. When zero as much space as available is used.
|ins-completion-menu|.

*'pumwidth'* *'pw'*
'pumwidth' 'pw' number (default 0)
global
Determines the minium width to use for the popup menu for Insert mode
completion. When zero the default of 15 screen cells is used.
|ins-completion-menu|.

*'pyxversion'* *'pyx'*
'pyxversion' 'pyx' number (default depends on the build)
global
Expand Down
2 changes: 1 addition & 1 deletion src/nvim/option_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ EXTERN long p_columns; // 'columns'
EXTERN int p_confirm; // 'confirm'
EXTERN int p_cp; // 'compatible'
EXTERN char_u *p_cot; // 'completeopt'
EXTERN long p_pb; // 'pumblend'
EXTERN long p_ph; // 'pumheight'
EXTERN long p_pw; // 'pumwidth'
EXTERN long p_pb; // 'pumblend'
EXTERN char_u *p_cpo; // 'cpoptions'
EXTERN char_u *p_csprg; // 'cscopeprg'
EXTERN int p_csre; // 'cscoperelative'
Expand Down
16 changes: 8 additions & 8 deletions src/nvim/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,14 @@ return {
varname='p_prompt',
defaults={if_true={vi=true}}
},
{
full_name='pumblend', abbreviation='pb',
type='number', scope={'global'},
vi_def=true,
redraw={'ui_option'},
varname='p_pb',
defaults={if_true={vi=0}}
},
{
full_name='pumheight', abbreviation='ph',
type='number', scope={'global'},
Expand All @@ -1829,14 +1837,6 @@ return {
varname='p_pw',
defaults={if_true={vi=15}}
},
{
full_name='pumblend', abbreviation='pb',
type='number', scope={'global'},
vi_def=true,
redraw={'ui_option'},
varname='p_pb',
defaults={if_true={vi=0}}
},
{
full_name='pyxversion', abbreviation='pyx',
type='number', scope={'global'},
Expand Down

0 comments on commit 5eb18d4

Please sign in to comment.