diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-16 21:14:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-16 21:14:11 +0100 |
commit | d4c4bfa0078a959ff90ef30288fd31d9d38f23d7 (patch) | |
tree | a0c7059b555ac8585d2230c0a6fb4a268f3c27bc /src/insexpand.c | |
parent | 4eeedc09fed0cbbb3ba48317e0a01e20cd0b4f80 (diff) | |
download | vim-git-d4c4bfa0078a959ff90ef30288fd31d9d38f23d7.tar.gz |
patch 8.2.3525: option variable name does not match option namev8.2.3525
Problem: Option variable name does not match option name. (Christ van
Willigen)
Solution: Rename the variable.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 624146a3f..bcaa3fdf5 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -301,7 +301,7 @@ has_compl_option(int dict_opt) ) : (*curbuf->b_p_tsr == NUL && *p_tsr == NUL #ifdef FEAT_COMPL_FUNC - && *curbuf->b_p_thsfu == NUL + && *curbuf->b_p_tsrfu == NUL #endif )) { @@ -2246,7 +2246,7 @@ get_complete_funcname(int type) case CTRL_X_OMNI: return curbuf->b_p_ofu; case CTRL_X_THESAURUS: - return curbuf->b_p_thsfu; + return curbuf->b_p_tsrfu; default: return (char_u *)""; } @@ -2751,8 +2751,8 @@ thesaurus_func_complete(int type UNUSED) { #ifdef FEAT_COMPL_FUNC return (type == CTRL_X_THESAURUS - && curbuf->b_p_thsfu != NULL - && *curbuf->b_p_thsfu != NUL); + && curbuf->b_p_tsrfu != NULL + && *curbuf->b_p_tsrfu != NUL); #else return FALSE; #endif |