We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f18a1 commit d7db27bCopy full SHA for d7db27b
2 files changed
src/option.c
@@ -8190,8 +8190,8 @@ set_bool_option(
8190
{
8191
# ifdef FEAT_TERMINAL
8192
/* Cannot set 'modifiable' when in Terminal mode. */
8193
- if (term_in_normal_mode()
8194
- || (bt_terminal(curbuf) && !term_is_finished(curbuf)))
+ if (curbuf->b_p_ma && (term_in_normal_mode() || (bt_terminal(curbuf)
+ && curbuf->b_term != NULL && !term_is_finished(curbuf))))
8195
8196
curbuf->b_p_ma = FALSE;
8197
return (char_u *)N_("E946: Cannot make a terminal with running job modifiable");
src/version.c
@@ -766,6 +766,8 @@ static char *(features[]) =
766
767
static int included_patches[] =
768
{ /* Add new patch number below this line */
769
+/**/
770
+ 1589,
771
/**/
772
1588,
773
0 commit comments