Mercurial > vim
diff src/optionstr.c @ 20760:813b9a7064a4 v8.2.0932
patch 8.2.0932: missspelling spelllang
Commit: https://github.com/vim/vim/commit/f154f3ab2c1eea67afc20140c580ad003752dc72
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 8 18:54:49 2020 +0200
patch 8.2.0932: missspelling spelllang
Problem: Missspelling spelllang.
Solution: Add an "l". (Dominique Pelle)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Jun 2020 19:00:04 +0200 |
parents | 9edb439adbea |
children | ed00f0fbdaef |
line wrap: on
line diff
--- a/src/optionstr.c +++ b/src/optionstr.c @@ -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);