patch 8.2.1444: error messages are spread out and names can be confusing
Problem: Error messages are spread out and names can be confusing.
Solution: Start moving error messages to a separate file and use clear
names.
diff --git a/src/list.c b/src/list.c
index 212d827..24b49d8 100644
--- a/src/list.c
+++ b/src/list.c
@@ -1204,7 +1204,7 @@
{
if (vim9script && !IS_WHITE_OR_NUL((*arg)[1]))
{
- semsg(_(e_white_after), ",");
+ semsg(_(e_white_space_required_after), ",");
goto failret;
}
*arg = skipwhite(*arg + 1);
@@ -1221,7 +1221,7 @@
if (do_error)
{
if (**arg == ',')
- semsg(_(e_no_white_before), ",");
+ semsg(_(e_no_white_space_allowed_before), ",");
else
semsg(_("E696: Missing comma in List: %s"), *arg);
}