fix(ex_cmds): fix a mistake in the porting of Vim patch 8.1.0306 (#21096)

This commit is contained in:
zeertzjq
2022-11-18 08:14:17 +08:00
committed by GitHub
parent 523b1943c3
commit 790d12b95f

View File

@@ -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,