mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
Make joining a range of lines much faster. (Milan Vancura)
This commit is contained in:
@@ -1908,7 +1908,7 @@ do_pending_operator(cap, old_col, gui_yank)
|
||||
beep_flush();
|
||||
else
|
||||
{
|
||||
do_do_join(oap->line_count, oap->op_type == OP_JOIN);
|
||||
(void)do_join(oap->line_count, oap->op_type == OP_JOIN, TRUE);
|
||||
auto_format(FALSE, TRUE);
|
||||
}
|
||||
break;
|
||||
@@ -9111,7 +9111,7 @@ nv_join(cap)
|
||||
{
|
||||
prep_redo(cap->oap->regname, cap->count0,
|
||||
NUL, cap->cmdchar, NUL, NUL, cap->nchar);
|
||||
do_do_join(cap->count0, cap->nchar == NUL);
|
||||
(void)do_join(cap->count0, cap->nchar == NUL, TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user