forked from aniani/vim
patch 8.0.0766: option test fails with +terminal feature
Problem: Option test fails with +terminal feature. Solution: Fix using the right option when checking the value.
This commit is contained in:
@@ -7465,7 +7465,7 @@ did_set_string_option(
|
||||
|
||||
#ifdef FEAT_TERMINAL
|
||||
/* 'termkey' */
|
||||
else if (varp == &curwin->w_p_tms)
|
||||
else if (varp == &curwin->w_p_tk)
|
||||
{
|
||||
if (*curwin->w_p_tk != NUL && string_to_key(curwin->w_p_tk, TRUE) == 0)
|
||||
errmsg = e_invarg;
|
||||
|
Reference in New Issue
Block a user