1
0
forked from aniani/vim

patch 8.2.0932: missspelling spelllang

Problem:    Missspelling spelllang.
Solution:   Add an "l". (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2020-06-08 18:54:49 +02:00
parent 6938e27abd
commit f154f3ab2c
4 changed files with 7 additions and 5 deletions

View File

@@ -1704,7 +1704,7 @@ did_set_string_option(
int is_spellfile = varp == &(curwin->w_s->b_p_spf);
if ((is_spellfile && !valid_spellfile(*varp))
|| (!is_spellfile && !valid_spellang(*varp)))
|| (!is_spellfile && !valid_spelllang(*varp)))
errmsg = e_invarg;
else
errmsg = did_set_spell_option(is_spellfile);