mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
fix(vim.opt): #14708 Now lets you put duplicate values in wildmode
This commit is contained in:
@@ -7765,6 +7765,7 @@ static Dictionary vimoption2dict(vimoption_T *opt)
|
||||
}
|
||||
PUT(dict, "type", CSTR_TO_OBJ(type));
|
||||
PUT(dict, "default", def);
|
||||
PUT(dict, "allows_duplicates", BOOL(!(opt->flags & P_NODUP)));
|
||||
|
||||
return dict;
|
||||
}
|
||||
|
@@ -3152,7 +3152,7 @@ return {
|
||||
full_name='wildmode', abbreviation='wim',
|
||||
short_desc=N_("mode for 'wildchar' command-line expansion"),
|
||||
type='string', list='onecomma', scope={'global'},
|
||||
deny_duplicates=true,
|
||||
deny_duplicates=false,
|
||||
vim=true,
|
||||
varname='p_wim',
|
||||
defaults={if_true={vi="", vim="full"}}
|
||||
|
Reference in New Issue
Block a user