diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-09-06 12:08:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 12:08:26 +0200 |
commit | c81cb02dd6a478d9d206dacdb9dba25edef33fea (patch) | |
tree | f106721ed1a2e3d95bf9a0b9c6707e3c09e0aea7 /src/nvim/ops.c | |
parent | 9570ad24f52442d75d677412cfe2fa83a7ff7a88 (diff) | |
parent | fa99afe35eb5d8cf01d875e12b53165bf1104a60 (diff) | |
download | rneovim-c81cb02dd6a478d9d206dacdb9dba25edef33fea.tar.gz rneovim-c81cb02dd6a478d9d206dacdb9dba25edef33fea.tar.bz2 rneovim-c81cb02dd6a478d9d206dacdb9dba25edef33fea.zip |
Merge pull request #30272 from bfredl/replace_emoji
fix(multibyte): handle backspace of wide clusters in replace mode
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 4b3f69a378..8faf0a6b47 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -306,7 +306,7 @@ void shift_line(bool left, bool round, int amount, int call_changed_bytes) // Set new indent if (State & VREPLACE_FLAG) { - change_indent(INDENT_SET, count, false, NUL, call_changed_bytes); + change_indent(INDENT_SET, count, false, call_changed_bytes); } else { set_indent(count, call_changed_bytes ? SIN_CHANGED : 0); } |