commit 790d12b95fb755008e00b39c132271eaffbd7f12
parent 523b1943c359cf79f29229a3d882c55ea407a237
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 18 Nov 2022 08:14:17 +0800
fix(ex_cmds): fix a mistake in the porting of Vim patch 8.1.0306 (#21096)
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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,