mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(ex_cmds): fix a mistake in the porting of Vim patch 8.1.0306 (#21096)
This commit is contained in:
@@ -1018,7 +1018,9 @@ int do_move(linenr_T line1, linenr_T line2, linenr_T dest)
|
|||||||
ml_delete(line1 + extra, true);
|
ml_delete(line1 + extra, true);
|
||||||
}
|
}
|
||||||
if (!global_busy && num_lines > p_report) {
|
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,
|
extmark_move_region(curbuf, line1 - 1, 0, start_byte,
|
||||||
|
Reference in New Issue
Block a user