diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-01-27 08:34:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 08:34:57 +0100 |
commit | d50dd1272550346164b05cfc82b3a0aea6dd6b84 (patch) | |
tree | 6612fbc107618b04ea830b076f9510f5111a030d /src/nvim/change.c | |
parent | 55ad48d93955462905622a42a460ffccd99aa77a (diff) | |
parent | 6c22e5fd1a4e6d945bb76a4a8a558613f99ec793 (diff) | |
download | rneovim-d50dd1272550346164b05cfc82b3a0aea6dd6b84.tar.gz rneovim-d50dd1272550346164b05cfc82b3a0aea6dd6b84.tar.bz2 rneovim-d50dd1272550346164b05cfc82b3a0aea6dd6b84.zip |
Merge pull request #17095 from zeertzjq/vim-8.2.3227
vim-patch:8.2.{3227,3280,4094}: global-local 'virtualedit'
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r-- | src/nvim/change.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c index 1dbbfff024..0c16b204e3 100644 --- a/src/nvim/change.c +++ b/src/nvim/change.c @@ -789,7 +789,7 @@ int del_bytes(colnr_T count, bool fixpos_arg, bool use_delcombine) // fixpos is true, we don't want to end up positioned at the NUL, // unless "restart_edit" is set or 'virtualedit' contains "onemore". if (col > 0 && fixpos && restart_edit == 0 - && (ve_flags & VE_ONEMORE) == 0) { + && (get_ve_flags() & VE_ONEMORE) == 0) { curwin->w_cursor.col--; curwin->w_cursor.coladd = 0; curwin->w_cursor.col -= utf_head_off(oldp, oldp + curwin->w_cursor.col); |