comparison 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
comparison
equal deleted inserted replaced
20759:7deb5f06bab0 20760:813b9a7064a4
1702 || varp == &(curwin->w_s->b_p_spf)) 1702 || varp == &(curwin->w_s->b_p_spf))
1703 { 1703 {
1704 int is_spellfile = varp == &(curwin->w_s->b_p_spf); 1704 int is_spellfile = varp == &(curwin->w_s->b_p_spf);
1705 1705
1706 if ((is_spellfile && !valid_spellfile(*varp)) 1706 if ((is_spellfile && !valid_spellfile(*varp))
1707 || (!is_spellfile && !valid_spellang(*varp))) 1707 || (!is_spellfile && !valid_spelllang(*varp)))
1708 errmsg = e_invarg; 1708 errmsg = e_invarg;
1709 else 1709 else
1710 errmsg = did_set_spell_option(is_spellfile); 1710 errmsg = did_set_spell_option(is_spellfile);
1711 } 1711 }
1712 // When 'spellcapcheck' is set compile the regexp program. 1712 // When 'spellcapcheck' is set compile the regexp program.