Mercurial > vim
diff src/ops.c @ 26958:d92e0d85923f v8.2.4008
patch 8.2.4008: error messages are spread out
Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 16:09:06 2022 +0000
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 17:15:05 +0100 |
parents | 5aa9e8db975c |
children | 268f6a3511df |
line wrap: on
line diff
--- 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 }