mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -2864,7 +2864,6 @@ struct file_buffer
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
char_u *b_p_cfu; // 'completefunc'
|
||||
char_u *b_p_ofu; // 'omnifunc'
|
||||
char_u *b_p_tsrfu; // 'thesaurusfunc'
|
||||
#endif
|
||||
#ifdef FEAT_EVAL
|
||||
char_u *b_p_tfu; // 'tagfunc'
|
||||
@@ -2967,6 +2966,9 @@ struct file_buffer
|
||||
unsigned b_tc_flags; // flags for 'tagcase'
|
||||
char_u *b_p_dict; // 'dictionary' local value
|
||||
char_u *b_p_tsr; // 'thesaurus' local value
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
char_u *b_p_tsrfu; // 'thesaurusfunc' local value
|
||||
#endif
|
||||
long b_p_ul; // 'undolevels' local value
|
||||
#ifdef FEAT_PERSISTENT_UNDO
|
||||
int b_p_udf; // 'undofile'
|
||||
|
Reference in New Issue
Block a user