summaryrefslogtreecommitdiffstats
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 16:09:06 +0000
commit677658ae49de31fe2e5b1fa6d93fdfab85a4362e (patch)
treef5f0bbdda081ce1dad3bcaf7f4e6cf3281774cac /src/ops.c
parent8e7d9db32b53ca2b1cb7570d2042860bcd1e943f (diff)
patch 8.2.4008: error messages are spread outv8.2.4008
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ops.c b/src/ops.c
index 0685a06e0e..44a6a6e8e7 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -3381,7 +3381,7 @@ op_function(oparg_T *oap UNUSED)
typval_T rettv;
if (*p_opfunc == NUL)
- emsg(_("E774: 'operatorfunc' is empty"));
+ emsg(_(e_operatorfunc_is_empty));
else
{
// Set '[ and '] marks to text to be operated on.
@@ -3419,7 +3419,7 @@ op_function(oparg_T *oap UNUSED)
}
}
#else
- emsg(_("E775: Eval feature not available"));
+ emsg(_(e_eval_feature_not_available));
#endif
}