fix(vim.opt): #14708 Now lets you put duplicate values in wildmode

This commit is contained in:
TJ DeVries
2021-06-11 11:13:43 -04:00
parent f83c25942d
commit 1d3ee1c441
4 changed files with 16 additions and 4 deletions

View File

@@ -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;
}