Mercurial > vim
diff src/eval.c @ 18939:25ebc35e104f v8.2.0030
patch 8.2.0030: "gF" does not work on output of "verbose command"
Commit: https://github.com/vim/vim/commit/64e74c9cc7d5aab215cf72d9bdd3aac32e128191
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 22 15:38:06 2019 +0100
patch 8.2.0030: "gF" does not work on output of "verbose command"
Problem: "gF" does not work on output of "verbose command".
Solution: Recognize " line " and translations. (closes https://github.com/vim/vim/issues/5391)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Dec 2019 15:45:03 +0100 |
parents | 3cf9529b3a4a |
children | 6bd715870e32 |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -5462,7 +5462,6 @@ tv_get_number_chk(typval_T *varp, int *d break; case VAR_SPECIAL: return varp->vval.v_number == VVAL_TRUE ? 1 : 0; - break; case VAR_JOB: #ifdef FEAT_JOB_CHANNEL emsg(_("E910: Using a Job as a Number")); @@ -6147,7 +6146,7 @@ last_set_msg(sctx_T script_ctx) msg_puts((char *)p); if (script_ctx.sc_lnum > 0) { - msg_puts(_(" line ")); + msg_puts(_(line_msg)); msg_outnum((long)script_ctx.sc_lnum); } verbose_leave();