mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
81bdd6a025
commit
c4f43bce7c
@ -7465,7 +7465,7 @@ did_set_string_option(
|
|||||||
|
|
||||||
#ifdef FEAT_TERMINAL
|
#ifdef FEAT_TERMINAL
|
||||||
/* 'termkey' */
|
/* '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)
|
if (*curwin->w_p_tk != NUL && string_to_key(curwin->w_p_tk, TRUE) == 0)
|
||||||
errmsg = e_invarg;
|
errmsg = e_invarg;
|
||||||
|
@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
766,
|
||||||
/**/
|
/**/
|
||||||
765,
|
765,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user