aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/marktree.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-11-05 13:17:23 +0100
committerGitHub <noreply@github.com>2023-11-05 13:17:23 +0100
commit22fa66bb1d502e250d972b1814552412cc2e87fe (patch)
tree1b2db4ae7e5dacd3a51611301e180ccb046563e2 /src/nvim/marktree.c
parent4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0 (diff)
parent68cb4a7405ea9f8841d1f25ee8997c49e77fa679 (diff)
downloadrneovim-22fa66bb1d502e250d972b1814552412cc2e87fe.tar.gz
rneovim-22fa66bb1d502e250d972b1814552412cc2e87fe.tar.bz2
rneovim-22fa66bb1d502e250d972b1814552412cc2e87fe.zip
Merge pull request #25882 from bfredl/noundo
feat(extmarks): add "no_undo_restore" flag to opt out of undo-restoring
Diffstat (limited to 'src/nvim/marktree.c')
-rw-r--r--src/nvim/marktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/marktree.c b/src/nvim/marktree.c
index 8ab9370e6c..3df659b8e1 100644
--- a/src/nvim/marktree.c
+++ b/src/nvim/marktree.c
@@ -2007,7 +2007,7 @@ void marktree_put_test(MarkTree *b, uint32_t ns, uint32_t id, int row, int col,
int end_row, int end_col, bool end_right)
{
MTKey key = { { row, col }, ns, id, 0,
- mt_flags(right_gravity, 0), 0, NULL };
+ mt_flags(right_gravity, 0, false), 0, NULL };
marktree_put(b, key, end_row, end_col, end_right);
}