forked from aniani/vim
patch 8.2.0932: missspelling spelllang
Problem: Missspelling spelllang. Solution: Add an "l". (Dominique Pelle)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user