aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/deprecated.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/api/deprecated.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/api/deprecated.c')
-rw-r--r--src/nvim/api/deprecated.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/api/deprecated.c b/src/nvim/api/deprecated.c
index 59b7fc18d6..906edb7b44 100644
--- a/src/nvim/api/deprecated.c
+++ b/src/nvim/api/deprecated.c
@@ -172,8 +172,7 @@ Integer nvim_buf_set_virtual_text(Buffer buffer, Integer src_id, Integer line, A
decor.virt_text_width = width;
decor.priority = 0;
- extmark_set(buf, ns_id, NULL, (int)line, 0, -1, -1, &decor, true,
- false, kExtmarkNoUndo, NULL);
+ extmark_set(buf, ns_id, NULL, (int)line, 0, -1, -1, &decor, true, false, false, NULL);
return src_id;
}