Skip to content

Commit 747560e

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 2a65ccd + d7db27b commit 747560e

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/option.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8313,8 +8313,8 @@ set_bool_option(
83138313
{
83148314
# ifdef FEAT_TERMINAL
83158315
/* Cannot set 'modifiable' when in Terminal mode. */
8316-
if (term_in_normal_mode()
8317-
|| (bt_terminal(curbuf) && !term_is_finished(curbuf)))
8316+
if (curbuf->b_p_ma && (term_in_normal_mode() || (bt_terminal(curbuf)
8317+
&& curbuf->b_term != NULL && !term_is_finished(curbuf))))
83188318
{
83198319
curbuf->b_p_ma = FALSE;
83208320
return (char_u *)N_("E946: Cannot make a terminal with running job modifiable");

src/popupmnu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ pum_show_popupmenu(vimmenu_T *menu)
11751175
out_flush();
11761176

11771177
c = vgetc();
1178-
if (c == ESC)
1178+
if (c == ESC || c == Ctrl_C)
11791179
break;
11801180
else if (c == CAR || c == NL)
11811181
{
@@ -1211,7 +1211,7 @@ pum_show_popupmenu(vimmenu_T *menu)
12111211
}
12121212
else if (c == K_LEFTDRAG || c == K_RIGHTDRAG || c == K_MOUSEMOVE)
12131213
{
1214-
/* mouse moved: selec item in the mouse row */
1214+
/* mouse moved: select item in the mouse row */
12151215
pum_select_mouse_pos();
12161216
}
12171217
else if (c == K_LEFTMOUSE || c == K_LEFTMOUSE_NM || c == K_RIGHTRELEASE)

src/version.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,10 @@ static char *(features[]) =
781781

782782
static int included_patches[] =
783783
{ /* Add new patch number below this line */
784+
/**/
785+
1589,
786+
/**/
787+
1588,
784788
/**/
785789
1587,
786790
/**/

0 commit comments

Comments
 (0)