summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2022-04-09 21:42:10 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-09 21:42:10 +0100
commit6013d0045dec7ca7c0068fbe186c42d754a7368b (patch)
tree739c5e84ced49602b15e033e3af9c909f9cc3e50 /src/errors.h
parent2ce97ae6aaec7007cca16a446d73161b82f2ba69 (diff)
patch 8.2.4726: cannot use expand() to get the script namev8.2.4726
Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 82c585e7e6..228a1d2bd9 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3258,3 +3258,5 @@ EXTERN char e_using_type_not_in_script_context_str[]
#endif
EXTERN char e_nfa_regexp_missing_value_in_chr[]
INIT(= N_("E1273: (NFA regexp) missing value in '\\%%%c'"));
+EXTERN char e_no_script_file_name_to_substitute_for_script[]
+ INIT(= N_("E1274: No script file name to substitute for \"<script>\""));