diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-01 22:26:06 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-01 22:29:48 -0400 |
commit | 63ab994fba2f2e0878be734d20bf8d106ddab67c (patch) | |
tree | abe43e2976e7374f31ff7ec029b256f507d845cb /src/nvim/ops.c | |
parent | 90981f5861e4c23c6a23a0082261b074ba48ea47 (diff) | |
download | rneovim-63ab994fba2f2e0878be734d20bf8d106ddab67c.tar.gz rneovim-63ab994fba2f2e0878be734d20bf8d106ddab67c.tar.bz2 rneovim-63ab994fba2f2e0878be734d20bf8d106ddab67c.zip |
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)
https://github.com/vim/vim/commit/77ccc00340ed2598f7aa09716217e878665964fa
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 030782cbcc..fbbdfdcd82 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -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 */ |