summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 15:32:08 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 15:32:08 +0200
commit152e79e94bb935e75b866bd55479648cde11066a (patch)
tree013f7b9ea813add2da55944bdbdb8dc83e9469f6 /src/globals.h
parent253ea9fa42278faa064f2590a5c0de46dc903a17 (diff)
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/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 66b204b41e..27a8d68146 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1581,6 +1581,9 @@ EXTERN char e_invcmd[] INIT(= N_("E476: Invalid command"));
#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