Mercurial > vim
diff src/option.h @ 25974:416237f1de22 v8.2.3520
patch 8.2.3520: cannot define a function for thesaurus completion
Commit: https://github.com/vim/vim/commit/160e994d768d03a3c826b58115cde94df8fce607
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Oct 16 15:41:29 2021 +0100
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 https://github.com/vim/vim/issues/8987,
closes 8950)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 16:45:04 +0200 |
parents | c26ff3203b43 |
children | aade8ef975d5 |
line wrap: on
line diff
--- a/src/option.h +++ b/src/option.h @@ -404,6 +404,7 @@ EXTERN char_u *p_cinw; // 'cinwords' #ifdef FEAT_COMPL_FUNC EXTERN char_u *p_cfu; // 'completefunc' EXTERN char_u *p_ofu; // 'omnifunc' +EXTERN char_u *p_thsfu; // 'thesaurusfunc' #endif EXTERN int p_ci; // 'copyindent' #if defined(FEAT_GUI) && defined(MACOS_X) @@ -1217,6 +1218,9 @@ enum #endif , BV_TAGS , BV_TC +#ifdef FEAT_COMPL_FUNC + , BV_THSFU +#endif , BV_TS , BV_TW , BV_TX