summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-23 22:16:53 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-23 22:16:53 +0200
commitf93c7fea084a99848d512ff2732041d4b41d93c8 (patch)
treebb6bba558d4157bb5ea1f6b2b7d0ae37cf10234f /src/globals.h
parent1df8b3fb04ce8732a0be680273c95eb4e9f5e85d (diff)
patch 8.2.0626: Vim9: wrong syntax of function in Vim9 scriptv8.2.0626
Problem: Vim9: wrong syntax of function in Vim9 script. Solution: Give error for missing space. Implement :echomsg and :echoerr. (closes #5670)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index f6c9d60e2b..725493b320 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1750,6 +1750,10 @@ EXTERN char e_endif_without_if[] INIT(= N_("E580: :endif without :if"));
EXTERN char e_continue[] INIT(= N_("E586: :continue without :while or :for"));
EXTERN char e_break[] INIT(= N_("E587: :break without :while or :for"));
EXTERN char e_nowhitespace[] INIT(= N_("E274: No white space allowed before parenthesis"));
+EXTERN char e_white_both[] INIT(= N_("E1004: white space required before and after '%s'"));
+EXTERN char e_white_after[] INIT(= N_("E1069: white space required after '%s'"));
+EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'"));
+
EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s"));
#endif
@@ -1819,6 +1823,8 @@ EXTERN proftime_T bevalexpr_due;
#ifdef FEAT_EVAL
EXTERN time_T time_for_testing INIT(= 0);
+EXTERN int echo_attr INIT(= 0); // attributes used for ":echo"
+
// Abort conversion to string after a recursion error.
EXTERN int did_echo_string_emsg INIT(= FALSE);