aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ex_cmds.c2
-rw-r--r--src/nvim/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 3b7f3b7b97..4b3798794c 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -2340,6 +2340,7 @@ int do_ecmd(
}
xfree(new_name);
au_new_curbuf.br_buf = NULL;
+ au_new_curbuf.br_buf_free_count = 0;
}
curwin->w_pcmark.lnum = 1;
@@ -2625,6 +2626,7 @@ static void delbuf_msg(char_u *name)
name == NULL ? (char_u *)"" : name);
xfree(name);
au_new_curbuf.br_buf = NULL;
+ au_new_curbuf.br_buf_free_count = 0;
}
static int append_indent = 0; /* autoindent for first line */
diff --git a/src/nvim/version.c b/src/nvim/version.c
index e73b68b6e7..3b3c5a76d7 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -334,7 +334,7 @@ static int included_patches[] = {
2109,
// 2108 NA
// 2107,
- // 2106,
+ 2106,
// 2105 NA
// 2104,
2103,