aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/syntax.c6
-rw-r--r--src/nvim/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 821411ec7b..baf5d4784d 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -5406,8 +5406,10 @@ void ex_ownsyntax(exarg_T *eap)
if (curwin->w_s == &curwin->w_buffer->b_s) {
curwin->w_s = xmalloc(sizeof(synblock_T));
memset(curwin->w_s, 0, sizeof(synblock_T));
- // TODO: Keep the spell checking as it was.
- curwin->w_p_spell = FALSE; /* No spell checking */
+ hash_init(&curwin->w_s->b_keywtab);
+ hash_init(&curwin->w_s->b_keywtab_ic);
+ // TODO: Keep the spell checking as it was. NOLINT(readability/todo)
+ curwin->w_p_spell = false; // No spell checking
clear_string_option(&curwin->w_s->b_p_spc);
clear_string_option(&curwin->w_s->b_p_spf);
clear_string_option(&curwin->w_s->b_p_spl);
diff --git a/src/nvim/version.c b/src/nvim/version.c
index a95e5f2adf..4b00349270 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -460,7 +460,7 @@ static int included_patches[] = {
// 831,
// 830,
// 829 NA
- // 828,
+ 828,
// 827,
826,
825,