Mercurial > vim
diff src/globals.h @ 20786:90b96fa35e4b v8.2.0945
patch 8.2.0945: cannot use "z=" when 'spell' is off
Commit: https://github.com/vim/vim/commit/152e79e94bb935e75b866bd55479648cde11066a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 10 15:32:08 2020 +0200
patch 8.2.0945: cannot use "z=" when 'spell' is off
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 10 Jun 2020 15:45:04 +0200 |
parents | 1fa0ace0ba65 |
children | e76b83c07bd8 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1581,6 +1581,9 @@ EXTERN char e_invcmd[] INIT(= N_("E476: #if defined(UNIX) || defined(FEAT_SYN_HL) || defined(FEAT_SPELL) EXTERN char e_isadir2[] INIT(= N_("E17: \"%s\" is a directory")); #endif +#ifdef FEAT_SPELL +EXTERN char e_no_spell[] INIT(= N_("E756: Spell checking is not possible")); +#endif #ifdef FEAT_LIBCALL EXTERN char e_libcall[] INIT(= N_("E364: Library call failed for \"%s()\"")); #endif