aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/funcs.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-28 23:40:34 +0800
committerGitHub <noreply@github.com>2023-04-28 23:40:34 +0800
commit233b858f2a2f3b57d07675e2de45736da36709e8 (patch)
treea8aef6d891e43fb68672d17d924b9d9bf3f6b88b /src/nvim/eval/funcs.c
parentca7e488cfeb16b3eb2faf9613718f17d28f0f005 (diff)
parent2722bff0f35bb4b69a297f8b4fae17661bbfe26f (diff)
downloadrneovim-233b858f2a2f3b57d07675e2de45736da36709e8.tar.gz
rneovim-233b858f2a2f3b57d07675e2de45736da36709e8.tar.bz2
rneovim-233b858f2a2f3b57d07675e2de45736da36709e8.zip
Merge pull request #23162 from lewis6991/vimpatch/option_cb
vim-patch:9.0.{1330,1345,1353,1359,1369,1374}: handling new value of an option has a long "else if" chain
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r--src/nvim/eval/funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index ebc34564e2..f898063fb0 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -7711,7 +7711,7 @@ static void f_spellbadword(typval_T *argvars, typval_T *rettv, EvalFuncData fptr
const int wo_spell_save = curwin->w_p_spell;
if (!curwin->w_p_spell) {
- did_set_spelllang(curwin);
+ parse_spelllang(curwin);
curwin->w_p_spell = true;
}
@@ -7768,7 +7768,7 @@ static void f_spellsuggest(typval_T *argvars, typval_T *rettv, EvalFuncData fptr
const int wo_spell_save = curwin->w_p_spell;
if (!curwin->w_p_spell) {
- did_set_spelllang(curwin);
+ parse_spelllang(curwin);
curwin->w_p_spell = true;
}