diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-10 15:32:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-10 15:32:08 +0200 |
commit | 152e79e94bb935e75b866bd55479648cde11066a (patch) | |
tree | 013f7b9ea813add2da55944bdbdb8dc83e9469f6 /src/spell.c | |
parent | 253ea9fa42278faa064f2590a5c0de46dc903a17 (diff) | |
download | vim-git-152e79e94bb935e75b866bd55479648cde11066a.tar.gz |
patch 8.2.0945: cannot use "z=" when 'spell' is offv8.2.0945
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227)
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c index cdb8e2ff0..102355f7c 100644 --- a/src/spell.c +++ b/src/spell.c @@ -1225,7 +1225,7 @@ no_spell_checking(win_T *wp) if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL || wp->w_s->b_langp.ga_len == 0) { - emsg(_("E756: Spell checking is not enabled")); + emsg(_(e_no_spell)); return TRUE; } return FALSE; |