diff options
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 571a3af5e..f1f1af309 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -129,6 +129,7 @@ # define PV_SPC OPT_BUF(BV_SPC) # define PV_SPF OPT_BUF(BV_SPF) # define PV_SPL OPT_BUF(BV_SPL) +# define PV_SPO OPT_BUF(BV_SPO) #endif #define PV_STS OPT_BUF(BV_STS) #ifdef FEAT_SEARCHPATH @@ -2398,6 +2399,16 @@ static struct vimoption options[] = {(char_u *)0L, (char_u *)0L} #endif SCTX_INIT}, + {"spelloptions", "spo", P_STRING|P_ALLOCED|P_VI_DEF + |P_ONECOMMA|P_NODUP|P_RBUF, +#ifdef FEAT_SPELL + (char_u *)&p_spo, PV_SPO, + {(char_u *)"", (char_u *)0L} +#else + (char_u *)NULL, PV_NONE, + {(char_u *)0L, (char_u *)0L} +#endif + SCTX_INIT}, {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE|P_ONECOMMA, #ifdef FEAT_SPELL (char_u *)&p_sps, PV_NONE, |