aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-01-18 13:19:36 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-09-09 21:22:21 +0200
commitf42aa95fbc7b949213ed204dfd0310e182e7e378 (patch)
tree77fda6bec3601339c0c7b7ef2447950836befe3d /src/nvim/fold.c
parenta621c45ba07e3608aad714403178e3aaded15df7 (diff)
downloadrneovim-f42aa95fbc7b949213ed204dfd0310e182e7e378.tar.gz
rneovim-f42aa95fbc7b949213ed204dfd0310e182e7e378.tar.bz2
rneovim-f42aa95fbc7b949213ed204dfd0310e182e7e378.zip
extmark: separate extmark_splice_cols for column-only change
as the byte logic will be the same for all of these
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r--src/nvim/fold.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c
index c29b878491..9994ad3ea8 100644
--- a/src/nvim/fold.c
+++ b/src/nvim/fold.c
@@ -1744,8 +1744,7 @@ static void foldDelMarker(
STRCPY(newline + (p - line), p + len);
ml_replace_buf(buf, lnum, newline, false);
extmark_splice_cols(buf, (int)lnum-1, (int)(p - line),
- (int)len,
- 0, kExtmarkUndo);
+ (int)len, 0, kExtmarkUndo);
}
break;
}