From 790d12b95fb755008e00b39c132271eaffbd7f12 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 18 Nov 2022 08:14:17 +0800 Subject: fix(ex_cmds): fix a mistake in the porting of Vim patch 8.1.0306 (#21096) --- src/nvim/ex_cmds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 1efde7ef3f..c405b4f4c1 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -1018,7 +1018,9 @@ int do_move(linenr_T line1, linenr_T line2, linenr_T dest) ml_delete(line1 + extra, true); } if (!global_busy && num_lines > p_report) { - smsg(NGETTEXT("1 line moved", "%" PRId64 " lines moved", num_lines), (int64_t)num_lines); + smsg(NGETTEXT("%" PRId64 " line moved", + "%" PRId64 " lines moved", num_lines), + (int64_t)num_lines); } extmark_move_region(curbuf, line1 - 1, 0, start_byte, -- cgit