vim-patch:8.2.3520: cannot define a function for thesaurus completion

Problem:    Cannot define a function for thesaurus completion.
Solution:   Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987,
            closes 8950)
160e994d76
This commit is contained in:
Matěj Cepl
2021-10-16 18:40:57 +02:00
parent aa4f0879e3
commit cbec765915
10 changed files with 125 additions and 30 deletions

View File

@@ -2535,6 +2535,15 @@ return {
varname='p_tsr',
defaults={if_true=""}
},
{
full_name='thesaurusfunc', abbreviation='tsrfu',
short_desc=N_("function used for thesaurus completion"),
type='string', scope={'buffer'},
secure=true,
alloced=true,
varname='p_thsfu',
defaults={if_true=""}
},
{
full_name='tildeop', abbreviation='top',
short_desc=N_("tilde command \"~\" behaves like an operator"),