aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/deprecated.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-08-08 17:36:54 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-09-26 12:19:54 +0200
commit392c658d4d0f9457f143748adf98ecd4cdc8dc85 (patch)
tree187943b860e19c66dbdd898661d67274c55e983f /src/nvim/api/deprecated.c
parentb3b02eb52943fdc8ba74af3b485e9d11655bc9c9 (diff)
downloadrneovim-392c658d4d0f9457f143748adf98ecd4cdc8dc85.tar.gz
rneovim-392c658d4d0f9457f143748adf98ecd4cdc8dc85.tar.bz2
rneovim-392c658d4d0f9457f143748adf98ecd4cdc8dc85.zip
feat(decorations): support virtual lines (for now: only one block at a time)
Diffstat (limited to 'src/nvim/api/deprecated.c')
-rw-r--r--src/nvim/api/deprecated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/deprecated.c b/src/nvim/api/deprecated.c
index 21b9db85c0..332fc0ba96 100644
--- a/src/nvim/api/deprecated.c
+++ b/src/nvim/api/deprecated.c
@@ -150,7 +150,7 @@ Integer nvim_buf_set_virtual_text(Buffer buffer, Integer src_id, Integer line, A
decor->virt_text = virt_text;
decor->virt_text_width = width;
- extmark_set(buf, ns_id, 0, (int)line, 0, -1, -1, decor, true,
+ extmark_set(buf, ns_id, NULL, (int)line, 0, -1, -1, decor, true,
false, kExtmarkNoUndo);
return src_id;
}