summaryrefslogtreecommitdiffstats
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-22 14:10:36 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-22 14:10:36 +0200
commit2e61e2d08390623fcf933fd06646ac91f81fb772 (patch)
tree730705564f989cc8f5856fcbc58fc3850d9d7883 /src/optiondefs.h
parent5a80f8ad5dc0b2cc63400255dcf3c63f6c1a2ef9 (diff)
patch 8.2.0810: error when appending "tagfile" to 'wildoptions'v8.2.0810
Problem: Error when appending "tagfile" to 'wildoptions'. Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin, closes #6105)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 36701070dd..374764be6b 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -2837,7 +2837,7 @@ static struct vimoption options[] =
{"wildmode", "wim", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
(char_u *)&p_wim, PV_NONE,
{(char_u *)"full", (char_u *)0L} SCTX_INIT},
- {"wildoptions", "wop", P_STRING|P_VI_DEF,
+ {"wildoptions", "wop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
(char_u *)&p_wop, PV_NONE,
{(char_u *)"", (char_u *)0L}
SCTX_INIT},