forked from aniani/vim
patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local.
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
# define PV_TFU OPT_BUF(BV_TFU)
|
||||
#endif
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
# define PV_THSFU OPT_BUF(BV_THSFU)
|
||||
# define PV_TSRFU OPT_BOTH(OPT_BUF(BV_TSRFU))
|
||||
#endif
|
||||
#define PV_TAGS OPT_BOTH(OPT_BUF(BV_TAGS))
|
||||
#define PV_TC OPT_BOTH(OPT_BUF(BV_TC))
|
||||
@@ -2634,7 +2634,7 @@ static struct vimoption options[] =
|
||||
{(char_u *)"", (char_u *)0L} SCTX_INIT},
|
||||
{"thesaurusfunc", "tsrfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE,
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
(char_u *)&p_thsfu, PV_THSFU,
|
||||
(char_u *)&p_tsrfu, PV_TSRFU,
|
||||
{(char_u *)"", (char_u *)0L}
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
|
Reference in New Issue
Block a user