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.
f4d8b76d30
This commit is contained in:
Matěj Cepl
2021-10-17 16:37:29 +02:00
parent b092171e7c
commit 2dc0af3a4f
8 changed files with 106 additions and 52 deletions

View File

@@ -686,6 +686,7 @@ EXTERN long p_titlelen; ///< 'titlelen'
EXTERN char_u *p_titleold; ///< 'titleold'
EXTERN char_u *p_titlestring; ///< 'titlestring'
EXTERN char_u *p_tsr; ///< 'thesaurus'
EXTERN char_u *p_tsrfu; ///< 'thesaurusfunc'
EXTERN int p_tgc; ///< 'termguicolors'
EXTERN int p_ttimeout; ///< 'ttimeout'
EXTERN long p_ttm; ///< 'ttimeoutlen'
@@ -826,7 +827,7 @@ enum {
BV_SW,
BV_SWF,
BV_TFU,
BV_THSFU,
BV_TSRFU,
BV_TAGS,
BV_TC,
BV_TS,