diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-18 08:14:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 08:14:17 +0800 |
commit | 790d12b95fb755008e00b39c132271eaffbd7f12 (patch) | |
tree | e03c24303c71a90357b98106e9afaafe9725afc0 /src/nvim/ex_cmds.c | |
parent | 523b1943c359cf79f29229a3d882c55ea407a237 (diff) | |
download | rneovim-790d12b95fb755008e00b39c132271eaffbd7f12.tar.gz rneovim-790d12b95fb755008e00b39c132271eaffbd7f12.tar.bz2 rneovim-790d12b95fb755008e00b39c132271eaffbd7f12.zip |
fix(ex_cmds): fix a mistake in the porting of Vim patch 8.1.0306 (#21096)
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, |