aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-09-06 12:08:26 +0200
committerGitHub <noreply@github.com>2024-09-06 12:08:26 +0200
commitc81cb02dd6a478d9d206dacdb9dba25edef33fea (patch)
treef106721ed1a2e3d95bf9a0b9c6707e3c09e0aea7 /src/nvim/ops.c
parent9570ad24f52442d75d677412cfe2fa83a7ff7a88 (diff)
parentfa99afe35eb5d8cf01d875e12b53165bf1104a60 (diff)
downloadrneovim-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.c2
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);
}