summaryrefslogtreecommitdiff
path: root/src/optionstr.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-10-16 15:41:29 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-16 15:41:29 +0100
commit160e994d768d03a3c826b58115cde94df8fce607 (patch)
tree38f6ec253633b656db1be92790c26fc71eb72eee /src/optionstr.c
parent2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f (diff)
downloadvim-git-160e994d768d03a3c826b58115cde94df8fce607.tar.gz
patch 8.2.3520: cannot define a function for thesaurus completionv8.2.3520
Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987, closes 8950)
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index ff1321881..06a633b0f 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -271,6 +271,7 @@ check_buf_options(buf_T *buf)
#ifdef FEAT_COMPL_FUNC
check_string_option(&buf->b_p_cfu);
check_string_option(&buf->b_p_ofu);
+ check_string_option(&buf->b_p_thsfu);
#endif
#ifdef FEAT_EVAL
check_string_option(&buf->b_p_tfu);