Mercurial > vim
diff src/indent.c @ 26877:06a137af96f8 v8.2.3967
patch 8.2.3967: error messages are spread out
Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 14:19:49 2022 +0000
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 15:30:05 +0100 |
parents | bce848ec8b1b |
children | 8c0730eca2ce |
line wrap: on
line diff
--- a/src/indent.c +++ b/src/indent.c @@ -42,7 +42,7 @@ tabstop_set(char_u *var, int **array) if (strtol((char *)cp, (char **)&end, 10) <= 0) { if (cp != end) - emsg(_(e_positive)); + emsg(_(e_argument_must_be_positive)); else semsg(_(e_invalid_argument_str), cp); return FAIL; @@ -1622,7 +1622,7 @@ ex_retab(exarg_T *eap) new_ts = getdigits(&ptr); if (new_ts < 0 && *eap->arg == '-') { - emsg(_(e_positive)); + emsg(_(e_argument_must_be_positive)); return; } if (new_ts < 0 || new_ts > 9999)