aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-06-11 11:13:43 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2021-06-29 08:42:07 -0400
commit1d3ee1c44186c211611abd03bdb4e38004b14ff4 (patch)
tree05e5aa229a7e78a86fbbc83eae80f6f2a91f90f2 /src/nvim/option.c
parentf83c25942dd8b94ad5218ce78b9e6fb86d2f0358 (diff)
downloadrneovim-1d3ee1c44186c211611abd03bdb4e38004b14ff4.tar.gz
rneovim-1d3ee1c44186c211611abd03bdb4e38004b14ff4.tar.bz2
rneovim-1d3ee1c44186c211611abd03bdb4e38004b14ff4.zip
fix(vim.opt): #14708 Now lets you put duplicate values in wildmode
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index f57abe89cc..388bedc043 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -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;
}