mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
vim-patch:8.1.2235: "C" with 'virtualedit' set does not include multi-byte char
Problem: "C" with 'virtualedit' set does not include multi-byte char.
Solution: Include the whole multi-byte char. (Nobuhiro Takasaki,
closes vim/vim#5152)
77ccc00340
This commit is contained in:
@@ -1562,6 +1562,7 @@ int op_delete(oparg_T *oap)
|
||||
oap->end = curwin->w_cursor;
|
||||
curwin->w_cursor = oap->start;
|
||||
}
|
||||
mb_adjust_opend(oap);
|
||||
}
|
||||
|
||||
if (oap->line_count == 1) { /* delete characters within one line */
|
||||
|
Reference in New Issue
Block a user