Mercurial > vim
diff src/usercmd.c @ 26915:3631d2deb36c v8.2.3986
patch 8.2.3986: error messages are spread out
Commit: https://github.com/vim/vim/commit/b09feaa86ecc53b9b953710082496951776dc5c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 20:20:45 2022 +0000
patch 8.2.3986: 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 | Sun, 02 Jan 2022 21:30:04 +0100 |
parents | 2aeea8611342 |
children | 85866e069c24 |
line wrap: on
line diff
--- a/src/usercmd.c +++ b/src/usercmd.c @@ -689,7 +689,7 @@ parse_compl_arg( if (arg != NULL) # endif { - emsg(_("E468: Completion argument only allowed for custom completion")); + emsg(_(e_completion_argument_only_allowed_for_custom_completion)); return FAIL; } @@ -697,7 +697,7 @@ parse_compl_arg( if ((*complp == EXPAND_USER_DEFINED || *complp == EXPAND_USER_LIST) && arg == NULL) { - emsg(_("E467: Custom completion requires a function argument")); + emsg(_(e_custom_completion_requires_function_argument)); return FAIL; }